THotPDF.ViewerPreferences

THotPDF

 

先頭  前へ  次へ

PDF document に書き込まれる viewer application preferences を決定します

 

type

   THPDFViewerPreference = (vpHideToolbar, vpHideMenubar, vpHideWindowUI, vpFitWindow, vpCenterWindow, vpDisplayDocTitle, vpDirection, vpNonFullScreenPageMode, vpPrintScaling, vpDuplex, vpPickTrayByPDFSize, vpNumCopies, vpPrintArea, vpPrintClip);

   THPDFViewerPreferences = set of THPDFViewerPreference;

 

Delphi syntax:

property ViewerPreferences: THPDFViewerPreferences;

 

C++ syntax:

__property THPDFViewerPreferences ViewerPreferences;

 

説明

Viewer preferences は、document が画面上でどのように表示されるか、および viewer が printing behavior をどのように initialize するかを制御します。一部の values は simple flags であり、一部は関連する THotPDF properties も設定する必要があります

 

Value                Meaning


vpHideToolbar document が active のときに viewer application の tool bars を hidden にするかを指定します

vpHideMenubar document が active のときに viewer application の menu bar を hidden にするかを指定します

vpHideWindowUI document window 内の user interface elements (scroll bars や navigation controls など) を hidden にし、document contents のみを表示するかを指定します

                                 leaving only the document's contents displayed.

vpFitWindow document window を最初に表示される page の size に合わせて resize するかを指定します

vpCenterWindow document window を screen の centre に配置するかを指定します

vpDisplayDocTitle viewer window caption に file name ではなく document Title entry を表示します

vpDirection document reading direction を書き込みます。LeftToRight または RightToLeft を選択するには THotPDF.Direction property を使用します

vpNonFullScreenPageMode full-screen mode を終了した後に使用する page mode を定義します。THotPDF.NonFullScreenPageMode property を使用します

vpPrintScaling default print scaling mode を制御します。THotPDF.PrintScaling property を使用します

vpDuplex duplex printing preference を書き込みます。THotPDF.Duplex property を使用します

vpPickTrayByPDFSize viewer が PDF page size に基づいて printer tray を選択するかを指定します

vpNumCopies suggested print copy count を書き込みます。THotPDF.NumCopies property を使用します

vpPrintArea print rendering に使用する page boundary を定義します。THotPDF.PrintArea property を使用します

vpPrintClip print clipping に使用する page boundary を定義します。THotPDF.PrintClip property を使用します

 

Related Properties

Direction, NonFullScreenPageMode, PrintScaling, Duplex, NumCopies, PrintArea, PrintClip, and InitialZoom.

 

Notes

Viewer preferences は PDF viewer への recommendations です。support は application により異なります。Adobe Reader と Acrobat は通常、最も完全な behavior を提供します