Poppler.Dest

Fields

Name

Type

Access

Description

bottom

float

r/w

bottom coordinate

change_left

int

r/w

whether left coordinate should be changed

change_top

int

r/w

whether top coordinate should be changed

change_zoom

int

r/w

whether scale factor should be changed

left

float

r/w

left coordinate

named_dest

str

r/w

name of the destination (Poppler.DestType.NAMED only)

page_num

int

r/w

page number

right

float

r/w

right coordinate

top

float

r/w

top coordinate

type

Poppler.DestType

r/w

type of destination

zoom

float

r/w

scale factor

Methods

copy ()

free ()

Details

class Poppler.Dest

Data structure for holding a destination

Note that named_dest is the string representation of the named destination. This is the right form to pass to poppler functions, e.g. Poppler.Document.find_dest(), but to get the destination as it appears in the PDF itself, you need to convert it to a bytestring with Poppler.named_dest_to_bytestring() first. Also note that named_dest does not have a defined encoding and is not in a form suitable to be displayed to the user.

copy()
Returns:

a new destination identical to self

Return type:

Poppler.Dest

Copies self, creating an identical Poppler.Dest.

free()

Frees self