HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THotPDF.ViewerPreferences

THotPDF

 

Top  Previous  Next

Determines the viewer application preferences.

 

type

   THPDFViewerPreference = (vpHideToolbar, vpHideMenubar, vpHideWindowUI, vpFitWindow, vpCenterWindow);

   THPDFViewerPreferences = set of THPDFViewerPreference;

 

Delphi syntax:

property ViewerPreferences: THPDFViewerPreferences;

 

C++ syntax:

__property THPDFViewerPreferences ViewerPreferences;

 

Description

Viewer preferences controlling the way the document is to be presented on the screen or in print.

 

Value                Meaning


vpHideToolbar                Specifying whether to hide the viewer application's tool bars when the document is active.

vpHideMenubar        Specifying whether to hide the viewer application's menu bar when the document is active.

vpHideWindowUI        Specifying whether to hide user interface elements in the document's window (such as scroll bars and navigation controls),

                                 leaving only the document's contents displayed.

vpFitWindow                Specifying whether to resize the document's window to fit the size of the first displayed page.

vpCenterWindow        specifying whether to position the document's window in the center of the screen.

 

Copyright©2007-2019 losLab.com