MonobjcMonobjc Documented Class Library
DocFormatFromRangeDocumentAttributes Method (__target, range, dict)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsDocFormatFromRangeDocumentAttributes(NSAttributedString, NSRange, NSDictionary)

Returns an NSData object that contains a Microsoft Word–format stream corresponding to the characters and attributes within the specified range.

Original signature is '- (NSData *)docFormatFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSData DocFormatFromRangeDocumentAttributes(
	this NSAttributedString __target,
	NSRange range,
	NSDictionary dict
)
<ExtensionAttribute> _
Public Shared Function DocFormatFromRangeDocumentAttributes ( _
	__target As NSAttributedString, _
	range As NSRange, _
	dict As NSDictionary _
) As NSData
[ExtensionAttribute]
public:
static NSData^ DocFormatFromRangeDocumentAttributes(
	NSAttributedString^ __target, 
	NSRange range, 
	NSDictionary^ dict
)
Parameters
__target (NSAttributedString)
The target instance.
range (NSRange)
MISSING
dict (NSDictionary)
MISSING
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSAttributedString_AppKitAdditions.DocFormatFromRangeDocumentAttributes(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)