MonobjcMonobjc Documented Class Library
InitWithHTMLDocumentAttributes Method (__target, data, docAttributes)
NamespacesMonobjc.AppKitNSAttributedString_AppKitAdditionsInitWithHTMLDocumentAttributes(NSAttributedString, NSData, NSDictionary%)

Initializes and returns a new NSAttributedString object from HTML contained in the given data object.

Original signature is '- (id)initWithHTML:(NSData *)data documentAttributes:(NSDictionary **)docAttributes'

Available in Mac OS X v10.0 and later.

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

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