QPdfDestination 類

QPdfDestination 類定義 PDF 文檔頁麵定位,和查看時的建議縮放級彆。 更多...

頭: #include <QPdfDestination>
Since: Qt 5.15

該類在 Qt 5.15 引入。

特性

公共函數

bool isValid () const
QPointF location () const
int page () const
qreal zoom () const

保護函數

QPdfDestination ()

詳細描述

特性文檔編製

location : const QPointF

此特性保持頁麵定位 (以點為單位)。

訪問函數:

QPointF location () const

page : const int

此特性保持頁碼。

訪問函數:

int page () const

valid : const bool

此特性保持目的地是否有效。

訪問函數:

bool isValid () const

zoom : const qreal

This property holds the suggested magnification level, where 1.0 means default scale (1 pixel = 1 point).

訪問函數:

qreal zoom () const

成員函數文檔編製

[protected] QPdfDestination:: QPdfDestination ()

構造無效目的地。

另請參閱 valid .