Click or drag to resize
Pdf Library for .NET

WordToPdfOptions Properties

The WordToPdfOptions type exposes the following members.

Properties
 NameDescription
Public propertyAccessibilityStandard Gets or sets the universal accessibility standard the produced document declares. The default is None.
Public propertyAutoDetectComplexScript Gets or sets whether text in complex scripts (Arabic, Hebrew, Thai and the like) that the document did not mark as such is detected and shaped accordingly. Default: false.
Public propertyBookmarks Gets or sets what the pdf outline is built from: the document's headings (the default), its Word bookmarks, or nothing.
Public propertyColorSpace Gets or sets the color space of the generated pdf. Default: RGB.
Public propertyDisplayFooter Gets or sets whether the custom footer set on Footer is displayed. Default: false.
Public propertyDisplayHeader Gets or sets whether the custom header set on Header is displayed. Default: false.
Public propertyEmbedCompleteFonts Gets or sets whether the fonts are embedded whole rather than as the subset of glyphs the document uses. A whole font makes the pdf larger and editable afterwards. Default: false.
Public propertyExternalLinksEnabled Gets or sets whether the hyperlinks of the Word document that point to a web address are kept as clickable links in the generated pdf. Default: true.
Public propertyGenerateSinglePagePdf Gets or sets whether the whole document is rendered onto one tall pdf page. Default: false.
Public propertyInternalLinksEnabled Gets or sets whether the hyperlinks of the Word document that point inside the document (to a bookmark or a heading) are kept as clickable links in the generated pdf. Default: true.
Public propertyJpegCompressionEnabled Gets or sets whether the images of the generated pdf are re-encoded as JPEG at the quality given by JpegCompressionLevel. Default: true.
Public propertyJpegCompressionLevel Gets or sets the JPEG compression level, from 0 (best quality) to 100 (smallest file). Default: 10.
Public propertyLanguage Gets or sets the natural language of the text in a tagged PDF (see Tagged), as a BCP 47 language tag such as en-US. When not set, defaults to en-US.
Public propertyLFN Gets or sets the path of a log file the converter writes diagnostic messages to. Default: null (no log).
Public propertyMarginBottom Gets or sets the bottom margin of the generated pdf pages, in points. Default: 0.
Public propertyMarginLeft Gets or sets the left margin of the generated pdf pages, in points, applied around the rendered Word page. Default: 0.
Public propertyMarginRight Gets or sets the right margin of the generated pdf pages, in points. Default: 0.
Public propertyMarginTop Gets or sets the top margin of the generated pdf pages, in points. Default: 0.
Public propertyOptimizeIdenticalImages Gets or sets whether an image used several times in the document is stored once in the pdf. Default: true.
Public propertyPageRanges Gets or sets the pages of the rendered document that go into the pdf, e.g. "1", "2-4", "1-3,5,7-" (1-based). Empty, the default, keeps every page.
Public propertyPageSetup Gets or sets where the pages take their size, orientation and margins from: the Word document's own page setup (the default) or the PdfPageSize, PdfPageOrientation and margins set on these options.
Public propertyPassword Gets or sets the password of an encrypted Word document. Default: null.
Public propertyPdfCompressionLevel Gets or sets the compression level of the content streams and fonts of the generated pdf. Default: Normal.
Public propertyPdfDocumentInformation Gets a reference to the object that sets the document information (title, author, subject, keywords, producer, creation date) of the generated pdf.
Public propertyPdfPageCustomSize Gets or sets the custom page size, in points, used when PdfPageSize is Custom.
Public propertyPdfPageOrientation Gets or sets the orientation of the generated pdf pages when PageSetup is Options. Default: Portrait.
Public propertyPdfPageSize Gets or sets the size of the generated pdf pages. Used when PageSetup is Options; with Document every page has the size of the Word page it was rendered from. Default: A4.
Public propertyPdfStandard Gets or sets the PDF standard (PDF/A, PDF/X) the generated pdf conforms to. Default: Full (no standard).
Public propertyPreserveFormFields Gets or sets whether the document's form fields become fillable pdf form fields instead of flat text. Default: false.
Public propertySecurityOptions Gets a reference to the object that sets the security options (passwords, permissions, encryption) of the generated pdf.
Public propertyTagged Gets or sets a value indicating whether the produced document is a tagged (accessible) PDF carrying a logical-structure tree, suitable for PDF/UA. The default is false.
Public propertyTitle Gets or sets the document title recorded in the metadata of a tagged PDF (see Tagged). Accessible documents are required to declare a title. When not set, the title of PdfDocumentInformation is used.
Public propertyUpdateFields Gets or sets whether the document's fields - the table of contents, page counts, dates and the like - are recalculated before rendering, so the pdf does not carry stale values. Default: true.
Public propertyViewerPreferences Gets a reference to the object that sets the viewer preferences of the generated pdf.
Top
See Also