VpeSetPictureDefaultDPI

<< Click to Display Table of Contents >>

Navigation:  Picture Functions >

VpeSetPictureDefaultDPI

Previous pageReturn to chapter overviewNext page

Some bitmap-files do not contain the DPI resolution information in which they were originally created.  For example, GIF images have no such information (you should use 96 by 96 DPI). Since VPE is a WYSIWYG-system, it needs this information for correct representation of the bitmap in metric coordinates. If the resolution information cannot be found in the image, VPE will use the default values you specify with this method.

Additionally, for the Professional Edition and above, exported bitmaps will have the resolution specified with this method.

void VpeSetPictureDefaultDPI(

VpeHandle hDoc,

int dpix,

int dpiy

)

VpeHandle hDoc

Document Handle

int dpix, dpiy

default x- and y-resolution in DPI

Default:

96 by 96 DPI which is the resolution of the screen

 

See Also:

"Pictures" in the Programmer's Manual