RenderOriginalPageSize

PdfOptions.RenderOriginalPageSize property

Sets the output page size the same as the source PDF document’s page size.

public bool RenderOriginalPageSize { get; set; }

Remarks

By default, GroupDocs.Viewer calculates output image page size for better rendering quality. Enable this option to ensure the output pages have the same size as the source PDF document’s page size (in pixels). The default value is false.

This option is available for rendering to PNG or JPG formats.

For code example, see the documentation.

See Also