共用方式為


UIPasteboard.Image 屬性

定義

擷取或設定第一個貼上板專案的影像。

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

屬性值

貼上板上的影像。

這個值可以是 null

屬性

備註

使用此專案將貼上板內容設定為 UIImage。

若要將貼上板內容設定為一組影像,請使用 Images 。 屬性中找到的值而定。

若要將貼上板內容設定為 NSStringNSArrayNSDictionaryNSDateNSNumberUIImage ,或使用 NSUrlSetValue(NSObject, String)

若要將值設定為任意資料類型,請使用 M:UIKit.UIPasteBoard.SetData*

適用於