Click or drag to resize
Pdftools logo

Viewing Class

The profile to convert PDF documents to JPEG or PNG images for viewing

This profile is suitable for converting PDFs to rasterized images for using in web and desktop viewing applications or as thumbnails.

By default, ImageOptions is set to PngImageOptions which uses the output format PNG and lossless compression. If set to JpegImageOptions, the output format is JPEG.

Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.Pdf2Image.ProfilesProfile
        PdfTools.Pdf2Image.ProfilesViewing

Namespace: PdfTools.Pdf2Image.Profiles
Assembly: PdfTools (in PdfTools.dll) Version: 1.1.0.0
Syntax
C#
public class Viewing : Profile

The Viewing type exposes the following members.

Constructors
 NameDescription
Public methodViewing 
Top
Properties
 NameDescription
Public propertyContentOptions

The parameters how to render PDF content elements


(Inherited from Profile)
Public propertyImageOptions

The settings for the output image

Supported types are:

Default: PngImageOptions

Public propertyImageSectionMapping

The image section mapping

This property specifies how a PDF page is placed onto the target image.

Supported types are:

Default: RenderPageAtResolution with 150 DPI.

Top
Methods
 NameDescription
Public methodEquals
(Inherited from NativeObject)
Public methodGetHashCode
(Inherited from NativeObject)
Top
See Also