setCompressImages whether set to true, all images in the document are re-compressed. The amount of compression and image quality are defined by the setImageQuality.
setImageQuality specifies value in percent where 100% is unchanged quality and image size. To decrease the image size set this property to less than 100.
PdfFormattingOptions class provides different options to change PDF document look.
setCenterWindow specifies whether position of the document’s window will be centered on the screen.
setDirection sets reading order of text: L2R (left to right) or R2L (right to left). Available options are: L2R, R2L.
setDisplayDocTitle specifies whether document’s window title bar should display document title.
setFitWindow specifies whether document window must be resized to fit the first displayed page.
setHideMenuBar specifies whether menu bar should be hidden when document is active.
setHideToolBar specifies whether toolbar should be hidden when document is active.
setHideWindowUI specifies whether user interface elements should be hidden when document is active.
setNonFullScreenPageMode specifies how to display the document on exiting full-screen mode. Available options are: UseNone, UseOutlines, UseThumbs, FullScreen, UseOC, UseAttachments.
setPageLayout sets page layout which shall be used when the document is opened. Available options are: Default, SinglePage, OneColumn, TwoColumnLeft, TwoColumnRight, TwoPagesLeft, TwoPagesRight.
setPageMode - specifying how document should be displayed when opened.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.