Click or drag to resize
Pdftools logo

RenderPageToMaxImageSize Class

The image section mapping to render entire pages using a specific image pixel size

Render a PDF page and scale it, thereby preserving the aspect ratio, to fit best on the target image size. The image size is specified in number of pixels.

For example, this mapping is suitable to create thumbnail images.

Inheritance Hierarchy
SystemObject
  PdfTools.InternalNativeBase
    PdfTools.InternalNativeObject
      PdfTools.Pdf2ImageImageSectionMapping
        PdfTools.Pdf2ImageRenderPageToMaxImageSize

Namespace: PdfTools.Pdf2Image
Assembly: PdfTools (in PdfTools.dll) Version: 1.0.0
Syntax
C#
public class RenderPageToMaxImageSize : ImageSectionMapping

The RenderPageToMaxImageSize type exposes the following members.

Constructors
 NameDescription
Public methodRenderPageToMaxImageSize 
Top
Properties
 NameDescription
Public propertySize

The maximum size of the image in pixels

Set or get the image size.

The dimensions of size must be 1 or greater.

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