PdfOptions Class
Provides options for rendering PDF documents.
Inheritance Hierarchy
SystemObject
  GroupDocs.Viewer.OptionsPdfOptions

Namespace: GroupDocs.Viewer.Options
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.9
Syntax
public class PdfOptions

The PdfOptions type exposes the following members.

Constructors
  NameDescription
Public methodPdfOptions
Initializes new instance of PdfOptions class.
Properties
  NameDescription
Public propertyDisableCharsGrouping
Disables chars grouping to keep maximum precision during chars positioning when rendering the page.
Public propertyEnableFontHinting
Enables font hinting. The font hinting adjusts the display of an outline font. Supported only for TTF fonts when these fonts are used in source document.
Public propertyEnableLayeredRendering
Enables rendering of text and graphics according to z-order in original PDF document when rendering into HTML.
Public propertyImageQuality
Specifies output image quality for image resources when rendering into HTML. The default value is Low.
Public propertyRenderOriginalPageSize
When this option enabled the output pages will have the same size in pixels as page size in a source PDF document. By default GroupDocs.Viewer calculates output image page size for better rendering quality.
Public propertyRenderTextAsImage
When this option is set to

Field Value

Type: 
true, the text is rendered as an image in the output HTML. Enable this option to make text unselectable or to fix characters rendering and make HTML look like PDF. The default value is

Field Value

Type: 
false.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also