QPdfDocumentRenderOptions 類

QPdfDocumentRenderOptions 類保持從 PDF 文檔渲染頁麵的選項。 更多...

頭: #include <QPdfDocumentRenderOptions>
Since: Qt 5.10

該類在 Qt 5.10 引入。

公共函數

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 )

詳細描述

另請參閱 QPdfDocument .

成員函數文檔編製

QPdfDocumentRenderOptions:: QPdfDocumentRenderOptions ()

構造 QPdfDocumentRenderOptions 對象。

QPdf::RenderFlags QPdfDocumentRenderOptions:: renderFlags () const

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

另請參閱 setRenderFlags ().

QPdf::Rotation QPdfDocumentRenderOptions:: rotation () const

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

另請參閱 setRotation ().

QRect QPdfDocumentRenderOptions:: scaledClipRect () const

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

另請參閱 setScaledClipRect().

QSize QPdfDocumentRenderOptions:: scaledSize () const

返迴 size of the page to be rendered, in pixels.

另請參閱 setScaledSize().

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

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

另請參閱 renderFlags ().

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

設置 rotation used for rendering a page from a PDF document.

另請參閱 rotation ().

相關非成員

bool operator!= ( QPdfDocumentRenderOptions lhs , QPdfDocumentRenderOptions rhs )

返迴 true if the options lhs and rhs 不同,否則返迴 false .

bool operator== ( QPdfDocumentRenderOptions lhs , QPdfDocumentRenderOptions rhs )

返迴 true if the options lhs and rhs 相等,否則返迴 false .