API Documentation > CorelDRAW > 2025-v26 > ActiveView > IVGActiveView
ActiveView.GetViewArea method
Gets the document rectangular area of the current view window
Syntax:
Sub GetViewArea(ByRef x As Double, ByRef y As Double, ByRef Width As Double, ByRef Height As Double)
Parameters:
Name Type Description
x
Double
y
Double
Width
Double
Height
Double
Remarks:
The GetViewArea method returns the current view window (a rectangular area) of the document.