![]() NUMCOPIES, the value must be of type PdfNumber. PRINTPAGERANGE, the value must be of type PdfArray. PICKTRAYBYPDFSIZE, the value must be of type PdfBoolean. The value must be a of type PdfBoolean (true or false). In case the key is one of these values:.addViewerPreference public void addViewerPreference( PdfName key,.Specified by: setViewerPreferences in interface PdfViewerPreferences Parameters: preferences - the viewer preferences See Also: tViewerPreferences(int) PRINT_SCALING_NONE - Indicates that the print dialog should reflect no page scaling.NON_FULL_SCREEN_PAGE_MODE_USE_OC - Optional content group panel visible.NON_FULL_SCREEN_PAGE_MODE_USE_THUMBS - Thumbnail images visible.NON_FULL_SCREEN_PAGE_MODE_USE_OUTLINES - Document outline visible.NON_FULL_SCREEN_PAGE_MODE_USE_NONE - Neither document outline nor thumbnail images.If the page mode is PageModeFullScreen (choose one). The document's page mode, specifying how to display theĭocument on exiting full-screen mode.DIRECTION_R2L - Right to left (including vertical writing systems such as.Positioning of pages when displayed side by side or printed n-up (choose one). This entry has no direct effect on theĭocument's contents or page numbering, but can be used to determine the relative The predominant reading order for text.DISPLAY_DOC_TITLE - A flag specifying whether to display the document's title.CENTER_WINDOW - A flag specifying whether to position the document's window.FIT_WINDOW - A flag specifying whether to resize the document's window toįit the size of the first displayed page.Leaving only the document's contents displayed. The document's window (such as scroll bars and navigation controls), HIDE_WINDOW_UI - A flag specifying whether to hide user interface elements in.HIDE_MENUBAR - A flag specifying whether to hide the viewer application's.HIDE_TOOLBAR - A flag specifying whether to hide the viewer application's tool.If you want to change the following preferences: PAGE_MODE_USE_ATTACHMENTS - Attachments panel visibleįor backward compatibility these values are also supported,īut it's better to use method addViewerPreference(key, value).PAGE_MODE_USE_OC - Optional content group panel visible.PAGE_MODE_FULL_SCREEN - Full-screen mode, with no menu bar, window. ![]() ![]() PAGE_MODE_USE_THUMBS - Thumbnail images visible.PAGE_MODE_USE_OUTLINES - Document outline visible.PAGE_MODE_USE_NONE - Neither document outline nor thumbnail images visible.The page mode how the document should be displayed.PAGE_LAYOUT_TWO_PAGE_RIGHT - Display the pages two at a time, with.PAGE_LAYOUT_TWO_PAGE_LEFT - Display the pages two at a time, with. ![]()
0 Comments
Leave a Reply. |