NSAttributedString.CreateWithHTML Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CreateWithHTML(NSData, NSDictionary, NSDictionary) |
Create an NSAttributedString by parsing the |
| CreateWithHTML(NSData, NSUrl, NSDictionary) |
Create an NSAttributedString by parsing the |
| CreateWithHTML(NSData, NSDictionary) |
Create an NSAttributedString by parsing the |
| CreateWithHTML(NSData, NSAttributedStringDocumentAttributes, NSDictionary) |
Create an NSAttributedString by parsing the |
CreateWithHTML(NSData, NSDictionary, NSDictionary)
Create an NSAttributedString by parsing the htmlData data as HTML.
public static Foundation.NSAttributedString? CreateWithHTML(Foundation.NSData htmlData, Foundation.NSDictionary options, out Foundation.NSDictionary resultDocumentAttributes);
static member CreateWithHTML : Foundation.NSData * Foundation.NSDictionary * NSDictionary -> Foundation.NSAttributedString
Parameters
- htmlData
- NSData
The data to parse, in HTML format.
- options
- NSDictionary
Any additional options when loading the HTML content.
- resultDocumentAttributes
- NSDictionary
Upon return, any document-specific attributes.
Returns
A newly created NSAttributedString, created from an HTML document
Applies to
CreateWithHTML(NSData, NSUrl, NSDictionary)
Create an NSAttributedString by parsing the htmlData data as HTML.
public static Foundation.NSAttributedString? CreateWithHTML(Foundation.NSData htmlData, Foundation.NSUrl baseUrl, out Foundation.NSDictionary resultDocumentAttributes);
static member CreateWithHTML : Foundation.NSData * Foundation.NSUrl * NSDictionary -> Foundation.NSAttributedString
Parameters
- htmlData
- NSData
The data to parse, in HTML format.
- baseUrl
- NSUrl
The base URL for any links in the HTML content.
- resultDocumentAttributes
- NSDictionary
Upon return, any document-specific attributes.
Returns
A newly created NSAttributedString, created from an HTML document
Applies to
CreateWithHTML(NSData, NSDictionary)
Create an NSAttributedString by parsing the htmlData data as HTML.
public static Foundation.NSAttributedString? CreateWithHTML(Foundation.NSData htmlData, out Foundation.NSDictionary resultDocumentAttributes);
static member CreateWithHTML : Foundation.NSData * NSDictionary -> Foundation.NSAttributedString
Parameters
- htmlData
- NSData
The data to parse, in HTML format.
- resultDocumentAttributes
- NSDictionary
Upon return, any document-specific attributes.
Returns
A newly created NSAttributedString, created from an HTML document
Applies to
CreateWithHTML(NSData, NSAttributedStringDocumentAttributes, NSDictionary)
Create an NSAttributedString by parsing the htmlData data as HTML.
public static Foundation.NSAttributedString? CreateWithHTML(Foundation.NSData htmlData, Foundation.NSAttributedStringDocumentAttributes options, out Foundation.NSDictionary resultDocumentAttributes);
static member CreateWithHTML : Foundation.NSData * Foundation.NSAttributedStringDocumentAttributes * NSDictionary -> Foundation.NSAttributedString
Parameters
- htmlData
- NSData
The data to parse, in HTML format.
Any additional options when loading the HTML content.
- resultDocumentAttributes
- NSDictionary
Upon return, any document-specific attributes.
Returns
A newly created NSAttributedString, created from an HTML document