QPdfDestination Class

The QPdfDestination class defines a location on a page in a PDF document, and a suggested zoom level at which it is intended to be viewed. More...

Header: #include <QPdfDestination>
Since: Qt 5.15

This class was introduced in Qt 5.15.

Properties

Public Functions

bool isValid() const
QPointF location() const
int page() const
qreal zoom() const

Protected Functions

QPdfDestination()

Detailed Description

Property Documentation

location : const QPointF

This property holds the location on the page, in units of points.

Access functions:

QPointF location() const

page : const int

This property holds the page number.

Access functions:

int page() const

valid : const bool

This property holds whether the destination is valid.

Access functions:

bool isValid() const

zoom : const qreal

This property holds the suggested magnification level, where 1.0 means default scale (1 pixel = 1 point).

Access functions:

qreal zoom() const

Member Function Documentation

[protected] QPdfDestination::QPdfDestination()

Constructs an invalid Destination.

See also valid.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qpdfdestination.html