UIPasteboard.Image Property

Definition

Retrieves or sets the image of the first pasteboard item.

public virtual UIKit.UIImage Image { [Foundation.Export("image", ObjCRuntime.ArgumentSemantic.Copy)] get; [Foundation.Export("setImage:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.Image : UIKit.UIImage with get, set

Property Value

Image on the pasteboard.

This value can be null.

Attributes

Remarks

Use this to set the pasteboard content to be an UIImage.

To set the pasteboard contents to a set of images, use the Images. property.

To set the pasteboard contents to NSString, NSArray, NSDictionary, NSDate, NSNumber, UIImage or NSUrl use the SetValue(NSObject, String).

To set the values to arbitrary data types, use M:UIKit.UIPasteBoard.SetData*.

Applies to