API Documentation > CorelDRAW > 2025-v26 > ActiveView > IVGActiveView
ActiveView.SetViewArea method
Sets the current view to display the rectangular area of the document
Syntax:
Sub SetViewArea(ByVal x As Double, ByVal y As Double, ByVal Width As Double, ByVal Height As Double)
Parameters:
Name Type Description
x
Double
y
Double
Width
Double
Height
Double
Remarks:
The SetViewArea method sets the current view to display a window of the rectangular area of the document.