QPdfDocumentRenderOptions Class

The QPdfDocumentRenderOptions class holds the options to render a page from a PDF document. More...

Header: #include <QPdfDocumentRenderOptions>
Since: Qt 5.10

This class was introduced in Qt 5.10.

Public Functions

QPdfDocumentRenderOptions()
QPdf::RenderFlags renderFlags() const
QPdf::Rotation rotation() const
QRect scaledClipRect() const
QSize scaledSize() const
void setRenderFlags(QPdf::RenderFlags flags)
void setRotation(QPdf::Rotation rotation)
bool operator!=(QPdfDocumentRenderOptions lhs, QPdfDocumentRenderOptions rhs)
bool operator==(QPdfDocumentRenderOptions lhs, QPdfDocumentRenderOptions rhs)

Detailed Description

See also QPdfDocument.

Member Function Documentation

QPdfDocumentRenderOptions::QPdfDocumentRenderOptions()

Constructs a QPdfDocumentRenderOptions object.

QPdf::RenderFlags QPdfDocumentRenderOptions::renderFlags() const

Returns the special flags used for rendering a page from a PDF document.

See also setRenderFlags().

QPdf::Rotation QPdfDocumentRenderOptions::rotation() const

Returns the rotation used for rendering a page from a PDF document.

See also setRotation().

QRect QPdfDocumentRenderOptions::scaledClipRect() const

Returns the rectangular region to be clipped from the page after having been scaled to scaledSize().

See also setScaledClipRect().

QSize QPdfDocumentRenderOptions::scaledSize() const

Returns the size of the page to be rendered, in pixels.

See also setScaledSize().

void QPdfDocumentRenderOptions::setRenderFlags(QPdf::RenderFlags flags)

Sets the special flags used for rendering a page from a PDF document.

See also renderFlags().

void QPdfDocumentRenderOptions::setRotation(QPdf::Rotation rotation)

Sets the rotation used for rendering a page from a PDF document.

See also rotation().

Related Non-Members

bool operator!=(QPdfDocumentRenderOptions lhs, QPdfDocumentRenderOptions rhs)

Returns true if the options lhs and rhs are different, otherwise returns false.

bool operator==(QPdfDocumentRenderOptions lhs, QPdfDocumentRenderOptions rhs)

Returns true if the options lhs and rhs are equal, otherwise returns false.

© 2024 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.