SetBMScale(hres, vres)

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, eg

Dim hres as Integer
Dim vres as Integer
hres=600
vres=600
Adbarcode1.SetBMScale hres, vres
Adbarcode1.SaveImage(fname$)

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

 

More:

SetByteStream(lpstream, nlength)