pdftools_toolbox.pdf.annotations.popup

Classes

Popup(handle)

A pop-up for a markup annotation

class pdftools_toolbox.pdf.annotations.popup.Popup(handle)[source]

Bases: _NativeObject

A pop-up for a markup annotation

property is_open: bool

The pop-up’s visibility state

Returns:

bool

Raises:

StateError – if the object has already been closed

property bounding_box: Rectangle

The pop-up location

Returns:

pdftools_toolbox.geometry.real.rectangle.Rectangle

Raises:

StateError – if the object has already been closed