PdfOptions

PdfOptions class

Contains options for rendering to PDF documents. For details, see the documentation.

public class PdfOptions

Constructors

Name Description
PdfOptions() Initializes new instance of the PdfOptions class.

Properties

Name Description
DisableCharsGrouping { get; set; } Disables symbol grouping for precise symbol positioning during page rendering.
DisableCopyProtection { get; set; } Turns off content copy protection when rendering to HTML.
DisableFontLicenseVerifications { get; set; } Disables any license restrictions for all fonts in the current XPS/OXPS document.
EnableFontHinting { get; set; } Enables font hinting.
EnableLayeredRendering { get; set; } Enables rendering text and graphics in the original PDF document’s z-order when rendering to HTML.
FixedLayout { get; set; } Enables rendering the PDF and EPUB documents to HTML with a fixed layout.
FixLinkIssue { get; set; } Tries to fix the issue when whole HTML page content is a link. Works only when input format is PDF and output format is HTML (with embedded or external resources). By default is disabled (false). Turn it on only when you know what and why you’re doing. Turing this option on increases the document processing time.
ImageQuality { get; set; } Sets the output image quality for image resources when rendering to HTML. The default quality is Low.
RenderOriginalPageSize { get; set; } Sets the output page size the same as the source PDF document’s page size.
RenderTextAsImage { get; set; } Enables rendering texts in the PDF files as an image in the HTML output.
WrapImagesInSvg { get; set; } Enables wrapping each image in the output HTML document in SVG tag to improve the output quality.

See Also