DocumentViewer.Zoom 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定文件縮放百分比。
public:
property double Zoom { double get(); void set(double value); };
public double Zoom { get; set; }
member this.Zoom : double with get, set
Public Property Zoom As Double
屬性值
縮放百分比以5.0到5000.0的數值表示。 預設值為 100.0,對應於 100.0%。
備註
設定此屬性會使 DocumentViewer 控制項縮放至指定值。
Zoom該財產的價值必須介於5.0至5000.0(含內)之間,這對應於5.0% 至5000.0%的百分比範圍。
需要版面更新的動作或指令可能會改變 Zoom 屬性設定。 例如,改變 的 MaxPagesAcross值,呼叫 FitToHeight 方法,或調用 , FitToHeightCommand 都 Zoom 可能導致設定改變。
相依財產資訊
| 項目 | 價值 |
|---|---|
| 識別碼欄位 | ZoomProperty |
元資料屬性設為 true |
BindsTwoWayByDefault |