VpeSetDocExportPictureResolution

<< Click to Display Table of Contents >>

Navigation:  PDF Export >

VpeSetDocExportPictureResolution

Previous pageReturn to chapter overviewNext page

Sets the maximum allowed X and Y DPI resolution for images exported to non-VPE documents (like PDF, HTML, etc.).

Only images of higher resolutions are scaled down to the specified resolution, images that have already lower resolutions than the specified are not rescaled.

PDF export: This only applies to images that are managed internally as bitmaps. JPG image files are copied in their original form directly to PDF documents, so they are not rescaled.

The lower the image resolution, the smaller are the created images / documents. But especially for printing, too low image resolutions cause low quality printouts.

void VpeSetDocExportPictureResolution(

VpeHandle hDoc,

int dpi_resolution

)

VpeHandle hDoc

Document Handle

int dpi_resolution

the maximum allowed image resolution

Default:

300 DPI

Remarks:

If the created documents are mainly used for previewing on the screen - and not for printing - we recommend to use 96 DPI. For printing, a resolution of 300 DPI is recommended.

 

VPE can rescale images using different algorithms and qualities (see VpeSetDocExportPictureQuality).

 

Non-Windows platforms: this option requires the Professional Edition or higher. For lower editions no down-scaling is performed.