MonobjcMonobjc Documented Class Library
InitWithRTFDocumentAttributes Method (__target, rtfData, docAttributes)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsInitWithRTFDocumentAttributes(NSAttributedString, NSData, NSDictionary%)

Initializes a new NSAttributedString object by decoding the stream of RTF commands and data contained in the given data object.

Original signature is '- (id)initWithRTF:(NSData *)rtfData documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id InitWithRTFDocumentAttributes(
	this NSAttributedString __target,
	NSData rtfData,
	out NSDictionary docAttributes
<ExtensionAttribute> _
Public Shared Function InitWithRTFDocumentAttributes ( _
	__target As NSAttributedString, _
	rtfData As NSData, _
	<OutAttribute> ByRef docAttributes As NSDictionary _
) As Id
static Id^ InitWithRTFDocumentAttributes(
	NSAttributedString^ __target, 
	NSData^ rtfData, 
	[OutAttribute] NSDictionary^% docAttributes
__target (NSAttributedString)
The target instance.
rtfData (NSData)
docAttributes (NSDictionary%)
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.InitWithRTFDocumentAttributes(Monobjc.Foundation.NSAttributedString,Monobjc.Foundation.NSData,Monobjc.Foundation.NSDictionary@)"]

Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type NSAttributedString. When you use instance method syntax to call this method, omit the first parameter.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)