API Documentation > CorelDRAW > 2025-v26 > ActiveView > IVGActiveView
ActiveView.OriginX property
Gets or sets the origin x of the active view
Syntax:
Property Get OriginX() As Double
Property Let OriginX(ByVal Value As Double)
Remarks:
The OriginX property returns or specifies the horizontal (x-) coordinate of the drawing window's center in a CorelDRAW document. If you change the x- or y-coordinate of the active view, you are changing the area of the current document that is presented on the screen.
Examples:
The following VBA example sets the coordinates of the drawing window's center to (0,0) in the document's active view. This places the center of the drawing window in the lower- left corner of the page.
Sub OriginXOriginY()
With ActiveWindow.ActiveView
  .OriginX = 0
  .OriginY = 0
End With 
End Sub