TextPosition Class
Represents a position within a PresentationDocument.
- Inheritance:
- TextPosition
Remarks
For more information, see Find and Replace example.
Properties
LoadTextFormat
Gets the character formatting options for text loaded with LoadText(String) method or null if text cannot be loaded to the current TextPosition.
public TextCharacterFormat LoadTextFormat { get; }
Public ReadOnly Property LoadTextFormat As TextCharacterFormat
Property Value
The character formatting options for text loaded with LoadText(String) method or null if text cannot be loaded to the current TextPosition.
Parent
Gets the parent that scopes the current TextPosition.
Property Value
The parent that scopes the current TextPosition.
Methods
LoadText(String)
Loads the specified text at the current TextPosition.
public TextPosition LoadText(string text)
Public Function LoadText(text As String) As TextPosition
Parameters
text
- String
The text which should be loaded at the current TextPosition.
Returns
A TextPosition instance which points to a location just after the loaded text.