Click or drag to resize
ContentRangeLoadText Method (String, TxtLoadOptions)
Loads the specified text to the current ContentRange.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public ContentRange LoadText(
	string text,
	TxtLoadOptions options
)

Parameters

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

Return Value

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

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

For more information, see Set Content sample.

See Also