render_original_page_size property

render_original_page_size property

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

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.

Definition:

@property
def render_original_page_size(self):
    ...
@render_original_page_size.setter
def render_original_page_size(self, value):
    ...

See Also