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) |
Related Non-Members
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
.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.15/qpdfdocumentrenderoptions.html