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

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.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.