UIPasteboard.Image UIPasteboard.Image Property

Definition

Retrieves or sets the image of the first pasteboard item.

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

Property Value

Image on the pasteboard.

This value can be null.

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