ITextRange module

class ITextRange.ITextRange

Bases: IParagraphBase, IDocumentObject

Represents a range of text in a document.

abstract ApplyCharacterFormat(charFormat: CharacterFormat)

Applies the specified character format to the range.

abstract property CharacterFormat: CharacterFormat

Gets the character format of the range.

abstract property Text: str

Gets the text of the range.