API Documentation > CorelDRAW > 2025-v26 > Window > IVGWindow
Window.Page property
Gets the active page for that window
Syntax:
Property Get Page() As Object
Remarks:
The Page property returns a read-only reference to the active page of a window.
Examples:
The following VBA example displays the name of the current page in the active window.
Sub Test()
MsgBox "The name of the current window's page is: " & ActiveWindow.Page.Name 
End Sub