QPdfDocumentRenderOptions#

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

Inheritance diagram of PySide6.QtPdf.QPdfDocumentRenderOptions

Synopsis#

Functions#

Detailed Description#

See also

QPdfDocument

class PySide6.QtPdf.QPdfDocumentRenderOptions#

PySide6.QtPdf.QPdfDocumentRenderOptions(QPdfDocumentRenderOptions)

Parameters

QPdfDocumentRenderOptionsPySide6.QtPdf.QPdfDocumentRenderOptions

Constructs a QPdfDocumentRenderOptions object.

PySide6.QtPdf.QPdfDocumentRenderOptions.__ne__(rhs)#
Parameters

rhsPySide6.QtPdf.QPdfDocumentRenderOptions

Return type

bool

PySide6.QtPdf.QPdfDocumentRenderOptions.__eq__(rhs)#
Parameters

rhsPySide6.QtPdf.QPdfDocumentRenderOptions

Return type

bool

PySide6.QtPdf.QPdfDocumentRenderOptions.scaledClipRect()#
Return type

PySide6.QtCore.QRect

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

PySide6.QtPdf.QPdfDocumentRenderOptions.scaledSize()#
Return type

PySide6.QtCore.QSize

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

See also

setScaledSize()

PySide6.QtPdf.QPdfDocumentRenderOptions.setScaledClipRect(r)#
Parameters

rPySide6.QtCore.QRect

Sets the rectangle region (r) to be clipped from the page after having been scaled to scaledSize() .

See also

scaledClipRect()

PySide6.QtPdf.QPdfDocumentRenderOptions.setScaledSize(s)#
Parameters

sPySide6.QtCore.QSize

Sets the size (s) of the page to be rendered, in pixels.

See also

scaledSize()