SetBitmapScale()

When images based on bitmaps are to be saved as graphic files the required resolutions in dots per inch may be specified using this function

int WINAPI SetBitmapScale(int hres, int vres)

where hres and vres are the horizontal and vertical resolutions in dpi.

For Visual Basic 6 the corresponding declaration is:

Private Declare Function SetBitmapScale Lib “dlsbar34” (ByVal hres as Long, ByVal vres as Long) as Long

 

More:

SetDpi()