編輯

共用方式為


PdfAnnotation.SetValue Method

Definition

Overloads

SetValue(CGRect, NSString)
SetValue(CGRect, PdfAnnotationKey)
SetValue(Boolean, NSString)
SetValue(Boolean, PdfAnnotationKey)
SetValue(String, PdfAnnotationKey)
SetValue<T>(T, PdfAnnotationKey)

SetValue(CGRect, NSString)

[Foundation.Export("setRect:forAnnotationKey:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
protected virtual bool SetValue (CoreGraphics.CGRect rect, Foundation.NSString key);
abstract member SetValue : CoreGraphics.CGRect * Foundation.NSString -> bool
override this.SetValue : CoreGraphics.CGRect * Foundation.NSString -> bool

Parameters

rect
CGRect
key
NSString

Returns

Attributes

Applies to

SetValue(CGRect, PdfAnnotationKey)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public bool SetValue (CoreGraphics.CGRect rect, PdfKit.PdfAnnotationKey key);
member this.SetValue : CoreGraphics.CGRect * PdfKit.PdfAnnotationKey -> bool

Parameters

rect
CGRect

Returns

Attributes

Applies to

SetValue(Boolean, NSString)

[Foundation.Export("setBoolean:forAnnotationKey:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
protected virtual bool SetValue (bool boolean, Foundation.NSString key);
abstract member SetValue : bool * Foundation.NSString -> bool
override this.SetValue : bool * Foundation.NSString -> bool

Parameters

boolean
Boolean
key
NSString

Returns

Attributes

Applies to

SetValue(Boolean, PdfAnnotationKey)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
public bool SetValue (bool boolean, PdfKit.PdfAnnotationKey key);
member this.SetValue : bool * PdfKit.PdfAnnotationKey -> bool

Parameters

boolean
Boolean

Returns

Attributes

Applies to

SetValue(String, PdfAnnotationKey)

public bool SetValue (string str, PdfKit.PdfAnnotationKey key);
member this.SetValue : string * PdfKit.PdfAnnotationKey -> bool

Parameters

str
String

Returns

Applies to

SetValue<T>(T, PdfAnnotationKey)

public bool SetValue<T> (T value, PdfKit.PdfAnnotationKey key) where T : class, ObjCRuntime.INativeObject;
member this.SetValue : 'T * PdfKit.PdfAnnotationKey -> bool (requires 'T : null and 'T :> ObjCRuntime.INativeObject)

Type Parameters

T

Parameters

value
T

Returns

Applies to