Share via


NSAttributedString.GetRtf Method

Definition

Overloads

GetRtf(NSRange, NSDictionary)

[Foundation.Export("RTFFromRange:documentAttributes:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Foundation.NSData GetRtf(Foundation.NSRange range, Foundation.NSDictionary? options);
[<Foundation.Export("RTFFromRange:documentAttributes:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetRtf : Foundation.NSRange * Foundation.NSDictionary -> Foundation.NSData
override this.GetRtf : Foundation.NSRange * Foundation.NSDictionary -> Foundation.NSData

Parameters

range
NSRange
options
NSDictionary

Returns

Attributes

Applies to

GetRtf(NSRange, NSAttributedStringDocumentAttributes)

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public Foundation.NSData GetRtf(Foundation.NSRange range, Foundation.NSAttributedStringDocumentAttributes options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.GetRtf : Foundation.NSRange * Foundation.NSAttributedStringDocumentAttributes -> Foundation.NSData

Parameters

range
NSRange

Returns

Attributes

Applies to