The PdfOptions class provides specific options when converting documents to different versions of PDF format.
setPdfFormat sets a specific PDF format of the converted document. Available options are: Default, PdfA_1A, PdfA_1B, PdfA_2A, PdfA_3A, PdfA2B, PdfA_2U, PdfA_3B, PdfA_3U, v1_3, v1_4, v1_5, v1_6, v1_7, PdfX_1A, PdfX_3.
setCompressImages whether set to true, all images in the document are re-compressed. The amount of compression and image quality is 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.
The PdfFormattingOptions class provides different options to change the document look.
setCenterWindow specifies whether a 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 the document’s window title bar should display the document title.
setFitWindow specifies whether the document window must be resized to fit the first displayed page.
setHideMenuBar specifies whether the menu bar should be hidden when the document is active.
setHideToolBar specifies whether the toolbar should be hidden when the document is active.
setHideWindowUI specifies whether user interface elements should be hidden when the 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 - specifies how the 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.