API Documentation > CorelDRAW > 2025-v26 > Document > IVGDocument
Document.Resolution property
Returns or sets the document pixel resolution in DPI
Syntax:
Property Get Resolution() As Long
Property Let Resolution(ByVal Value As Long)
Remarks:
The Resolution property returns or specifies the document rendering resolution for bitmap-based effects (for example, drop shadows and interactive transparencies), measured in dots per inch (dpi).
Examples:
The following VBA example displays the current resolution. Sub Test()
MsgBox "Current document resolution is " & _
  ActiveDocument.Resolution & " dpi" 
End Sub