Creates an image snapshot of a portion of the
UIKit.UIView, with stretchable insets.
Syntax
[Foundation.Export("resizableSnapshotViewFromRect:afterScreenUpdates:withCapInsets:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_7_0)]
public virtual
UIView ResizableSnapshotView (
bool afterScreenUpdates,
UIEdgeInsets capInsets,
CoreGraphics.CGRect rect)
Parameters
- rect
- Defines the section of the view that you want to capture. The defined rectangle must be within the bounds of the coordinate space for the current view
- afterScreenUpdates
- A Boolean that specifies if a snapshot should be taken subsequent to changes.
- capInsets
- Edge insets used to define the stretchable portion of a returned view’s content.
Returns
A UIKit.UIView that contains the rendered contents of this UIKit.UIView.
Remarks
Requirements
Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0