Click or drag to resize
ContentPositionLoadText Method (String, CharacterFormat)
Loads the specified text with specific formatting at the current ContentPosition.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1255
Syntax
public ContentPosition LoadText(
	string text,
	CharacterFormat format
)

Parameters

text
Type: SystemString
The text which should be loaded at the current ContentPosition.
format
Type: GemBox.DocumentCharacterFormat
The formatting of the text which should be loaded at the current ContentPosition.

Return Value

Type: ContentPosition
A ContentPosition instance which points to a location just after the loaded text.
Remarks
For more information, see Insert Content sample.
See Also