Symbol module

class Symbol.Symbol

Bases: ParagraphBase, IDocumentObject

Represents a symbol in a document.

property CharacterCode: int

Returns or sets the symbol’s character code.

Returns:

The symbol’s character code.

Return type:

int

property CharacterFormat: CharacterFormat

Gets the character format for the symbol.

Returns:

The character format for the symbol.

Return type:

CharacterFormat

property DocumentObjectType: DocumentObjectType

Gets the type of the document object.

Returns:

The type of the document object.

Return type:

DocumentObjectType

property FontName: str

Returns or sets the symbol’s font name.

Returns:

The symbol’s font name.

Return type:

str