DocumentProperty module

class DocumentProperty.DocumentProperty

Bases: SpireObject

Represents a document property.

property ClipboardData: ClipboardData

Gets the clipboard data of the document property.

Clone() → DocumentProperty

Clones the document property.

property Name: str

Gets the name of the document property.

ToBool() → bool

Converts the document property to a boolean value.

ToDateTime() → DateTime

Converts the document property to a DateTime object.

ToDouble() → float

Converts the document property to a double value.

ToFloat() → float

Converts the document property to a float value.

ToInt() → int

Converts the document property to an integer value.

ToString() → str

Converts the document property to a string value.

property Value: object

Gets the value of the document property.

property ValueType: PropertyValueType

Gets the value type of the document property.