MonobjcMonobjc Documented Class Library
RTFFromRangeDocumentAttributes Method (__target, aRange, docAttributes)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsRTFFromRangeDocumentAttributes(NSAttributedString, NSRange, NSDictionary)

Returns an NSData object that contains an RTF stream corresponding to the characters and attributes within the given range, omitting all attachment attributes.

Original signature is '- (NSData *)RTFFromRange:(NSRange)aRange documentAttributes:(NSDictionary *)docAttributes'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSData RTFFromRangeDocumentAttributes(
	this NSAttributedString __target,
	NSRange aRange,
	NSDictionary docAttributes
<ExtensionAttribute> _
Public Shared Function RTFFromRangeDocumentAttributes ( _
	__target As NSAttributedString, _
	aRange As NSRange, _
	docAttributes As NSDictionary _
) As NSData
static NSData^ RTFFromRangeDocumentAttributes(
	NSAttributedString^ __target, 
	NSRange aRange, 
	NSDictionary^ docAttributes
__target (NSAttributedString)
The target instance.
aRange (NSRange)
docAttributes (NSDictionary)
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.RTFFromRangeDocumentAttributes(Monobjc.Foundation.NSAttributedString,Monobjc.Foundation.NSRange,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)