Available in the LEADTOOLS Imaging toolkit.
BitmapXres and BitmapYres example for Visual Basic
This example sets the bitmap's resolution to 300 x 600 DPI.
Lead1.BitmapXres = 300 Lead1.BitmapYres = 600