|
THotPDF.InitialZoom
|
Haut Précédent Suivant |
|
Contrôle le zoom d’affichage initial de la page inscrit dans l’entrée OpenAction du document. La valeur est prise en compte par les lecteurs PDF à l’ouverture du fichier
type THPDFInitialZoom = ( FitNone, FitPage, FitWidth, FitHeight, FitBox, FitBoxWidth, FitBoxHeight, Zoom50, Zoom75, Zoom100, Zoom125, Zoom150, Zoom200);
Syntaxe Delphi : property InitialZoom: THPDFInitialZoom;
Syntaxe C++ : __property THPDFInitialZoom InitialZoom;
Description Utilisez InitialZoom pour définir le mode d’affichage de page à l’ouverture du document. HotPDF écrit cette valeur dans l’entrée /OpenAction du document sous la forme d’une des destinations d’affichage PDF standard définies par la spécification PDF (Fit, FitH, FitV, FitR, FitB, FitBH, FitBV ou XYZ) Depuis HotPDF v2.3.11, la valeur par défaut est FitHeight (destination PDF
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.
Pour une vue d’ensemble plus globale de l’interaction de InitialZoom avec le dictionnaire des préférences du lecteur PDF, voir ViewerPreferences Complete Reference
Exemple de code
|