API Documentation > CorelDRAW > 2025-v26 > Bitmap > IVGBitmap
Bitmap.ResolutionX property
Gets the bitmap's horizontal resolution
Syntax:
Property Get ResolutionX() As Long
Remarks:
The ResolutionX property returns the horizontal resolution of a bitmap in DPI
Examples:
The following VBA example displays the horizontal and vertical resolution of a bitmap object.
Sub Size()
With ActiveShape.Bitmap
  MsgBox .ResolutionX
  MsgBox .ResolutionY
End With 
End Sub