SetPictureDefaultDPI

<< Click to Display Table of Contents >>

Navigation:  Picture Functions >

SetPictureDefaultDPI

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.

method void VPE.SetPictureDefaultDPI(

integer DPIX,

integer DPIY

)

integer 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