Click or drag to resize

ContentRangeLoadText Method (String, HtmlLoadOptions)

Loads the specified HTML text to the current ContentRange.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 27.3.30.1028
Syntax
public ContentRange LoadText(
	string html,
	HtmlLoadOptions options
)

Parameters

html
Type: SystemString
The HTML text which should be loaded to the current ContentRange.
options
Type: GemBox.DocumentHtmlLoadOptions
The options used to define settings for load operation.

Return Value

Type: ContentRange
A ContentRange instance which contains loaded HTML text.
Remarks

A load operation replaces the current ContentRange's content with the newly loaded content.

For more information, see Word Editor in ASP.NET and Set Content example.

See Also