|
THotPDF.InitialZoom
|
先頭 前へ 次へ |
|
ドキュメントの OpenAction エントリに書き込まれる初期ページ表示ズームを制御します。この値はファイルを開くときに PDF リーダーによって尊重されます
type THPDFInitialZoom = ( FitNone, FitPage, FitWidth, FitHeight, FitBox, FitBoxWidth, FitBoxHeight, Zoom50, Zoom75, Zoom100, Zoom125, Zoom150, Zoom200);
Delphi syntax: property InitialZoom: THPDFInitialZoom;
C++ syntax: __property THPDFInitialZoom InitialZoom;
説明 InitialZoom を使用して、ドキュメントが開くときのページ表示モードを設定します。HotPDF はその値を、PDF 仕様で定義された標準 PDF view destination (Fit, FitH, FitV, FitR, FitB, FitBH, FitBV, XYZ) のいずれかとしてドキュメントの /OpenAction エントリに書き込みます HotPDF v2.3.11 以降、既定値は FitHeight (PDF /FitV destination) です。そのため、生成されたドキュメントは各ページがビューアーのウィンドウ高さに合わせられた状態で開きます。OpenAction エントリを省略し、ビューアー独自の既定ズームへ戻すには InitialZoom を FitNone に設定します
Value PDF destination Meaning FitNone (none) No special zoom; let the viewer use its own default. FitPage /Fit Fit the entire page inside the window. FitWidth /FitH Fit page width to the window. FitHeight /FitV Fit page height to the window. (default) FitBox /FitR or /FitB Fit the bounding box of the page contents to the window. FitBoxWidth /FitBH Fit the bounding box width to the window. FitBoxHeight /FitBV Fit the bounding box height to the window. Zoom50 /XYZ null null 0.5 Open the page at 50% scale. Zoom75 /XYZ null null 0.75 Open the page at 75% scale. Zoom100 /XYZ null null 1.0 Open the page at 100% (actual size). Zoom125 /XYZ null null 1.25 Open the page at 125% scale. Zoom150 /XYZ null null 1.5 Open the page at 150% scale. Zoom200 /XYZ null null 2.0 Open the page at 200% scale.
InitialZoom が PDF viewer-preferences dictionary とどのように相互作用するかの上位概要は、ViewerPreferences Complete Reference を参照してください
Code Example
|