Share via


NSAttributedString.CreateWithRTF(NSData, NSDictionary) Method

Definition

Create an NSAttributedString by parsing the rtfData data as RTF.

public static Foundation.NSAttributedString? CreateWithRTF(Foundation.NSData rtfData, out Foundation.NSDictionary resultDocumentAttributes);
static member CreateWithRTF : Foundation.NSData * NSDictionary -> Foundation.NSAttributedString

Parameters

rtfData
NSData

The data to parse, in RTF format.

resultDocumentAttributes
NSDictionary

Upon return, any document-specific attributes.

Returns

A newly created NSAttributedString, created from an RTF document

Applies to