API Documentation > CorelDRAW > 2025-v26
ActiveView class
Represents the view properties (zoom, view quality, coordinates of the center of the window) of a window
Syntax:
Class ActiveView
Remarks:
The ActiveView class represents the view properties (zoom, view quality, coordinates of the center of the window) of a window.
Properties:
Name Description
Application Gets the application to which the object belongs
OriginX Gets or sets the origin x of the active view
OriginY Gets or sets the origin y of the active view
Parent Gets the parent of which this object is a child
ProofColorSettings Specifies the color proofing settings for the current view window
ShowProofColors Specifies whether the color proofing should be displayed in the current view window
SimulateOverprints Sets the view mode to simulate overprints mode
Type Gets or sets the type of the active view
UseMultipageView Gets or sets whether to use Multipage view in the current view window
Zoom Gets or sets the zoom level of the active view
Methods:
Name Description
FindPageAtPoint Finds the page at the specified point in the Multipage view window
GetPageBoundingBox Returns the bounding box of the specified page
GetPageOrigin Returns the origin of the specified page in the Multipage view window
GetViewArea Gets the document rectangular area of the current view window
SetActualSize Sets zoom to 1:1
SetPageOrigin Sets the origin of the specified page in the Multipage view window
SetViewArea Sets the current view to display the rectangular area of the document
SetViewPoint Sets the view point
ToFitAllObjects Fits the active view to the all objects
ToFitAllPages Fits the active view to all pages
ToFitArea Fits the active view to the rectangle
ToFitPage Fits the active view to the page
ToFitPageHeight Fits the active view to the page height
ToFitPageWidth Fits the active view to the page width
ToFitSelection Fits the active view to the selection
ToFitShape Fits the active view to the shape
ToFitShapeRange Fits the active view to the given shape range
ZoomIn Zooms in at the center of the current document window
ZoomInAtPoint Zooms in at the specified point
ZoomOut Zooms out