IDocProperty module

class IDocProperty.IDocProperty

Bases: ABC

Abstract base class for document properties.

abstract property Boolean: bool

Returns the boolean value of the property.

abstract property DateTime: DateTime

Returns the DateTime value of the property.

abstract property Double: float

Returns the double value of the property.

abstract property Int32: int

Returns the Int32 value of the property.

abstract property Integer: int

Returns the integer value of the property.

abstract property IsBuiltIn: bool

Returns whether the property is built-in or not.

abstract property LinkSource: str

Returns the link source of the property.

abstract property LinkToContent: bool

Returns whether the property is linked to content or not.

abstract property Name: str

Returns the name of the property.

abstract property PropertyId: BuiltInProperty

Returns the ID of the property.

abstract property Text: str

Returns the text value of the property.

abstract property TimeSpan: TimeSpan

Returns the TimeSpan value of the property.

abstract property Value: SpireObject

Returns the value of the property.