pdftools_toolbox.pdf.annotations.markup_info
Classes
|
Information for a markup annotation |
- class pdftools_toolbox.pdf.annotations.markup_info.MarkupInfo(handle)[source]
Bases:
_NativeObject
Information for a markup annotation
Holds information contained in a markup annotation or in a reply to a markup annotation.
- property creation_date: datetime | None
The date of creation
- Returns:
Optional[datetime]
- Raises:
StateError – if the object has already been closed
- property modification_date: datetime | None
The date of last modification
- Returns:
Optional[datetime]
- Raises:
StateError – if the object has already been closed
- property locked: bool
Whether the content can be modified
This does not restrict the modification of other aspects of the annotation or its deletion.
- Returns:
bool
- Raises:
StateError – if the object has already been closed
- property author: str | None
The author
- Returns:
Optional[str]
- Raises:
StateError – if the object has already been closed
- property subject: str | None
The subject
- Returns:
Optional[str]
- Raises:
StateError – if the object has already been closed
- property content: str | None
The information content
- Returns:
Optional[str]
- Raises:
StateError – if the object has already been closed