GetViewerPreferences
Document properties
Description
Returns the viewer preferences for the document.
Syntax
Delphi
function TPDFlib.GetViewerPreferences(Option: Integer): Integer;ActiveX
Function PDFlib::GetViewerPreferences(Option As Long) As LongDLL
int DLGetViewerPreferences(int InstanceID, int Option);Parameters
| Option | 1 = Hide toolbar 2 = Hide menubar 3 = Hide window user interface 4 = Resize window to first page size 5 = Center window 6 = Display document title 7 = Page mode after full screen 8 = Predominant text reading order 9 = Display boundary for viewing 10 = Clipping boundary for viewing 11 = Display boundary for printing 12 = Clipping boundary for printing 13 = Default print dialog: scaling 14 = Default print dialog: duplex 15 = Default print dialog: auto paper tray 16 = Default print dialog: number of copies |
|---|
Return values
| See the SetViewerPreferences function to determine possible return values for each Option value. |