API Documentation > CorelDRAW > 2025-v26
IVGPage interface
The main interface for Page class
Syntax:
Interface IVGPage
Properties:
Name Description
ActiveLayer Gets the active layer on the page object
AllCollaborativeTextShapes
AllLayers Returns a collection of all layers on the page, including the master layers
Application Gets the application to which the object belongs
Background Gets or sets the Page's Background type
Bleed Gets or sets the page's bleed
BottomY Returns the Y coordinate of the page bottom edge
BoundingBox Returns the bounding rectangle around the page
CenterX Gets the horizontal page center coordinate
CenterY Gets the vertical page center coordinate
Color Gets or sets the page color
DesktopLayer Returns the desktop layer on the given page
GridLayer Returns the grid layer on the given page
Guides Gets a collection of guidelines
GuidesLayer Returns the guideline layer on the given page
Index Gets the page number for the referenced page
Layers Gets the collection of layers on the page
LeftX Returns the X coordinate of the page left edge
Markup Markup associated with this page
Name Gets or sets the page's name
Next Returns the next page in the document
Orientation Gets or sets the page's orientation
Paper Gets the paper type; to set you must use SizeHeight and SizeWidth
Parent Gets the parent of which this object is a child
Previous Returns the previous page in the document
PrintExportBackground Gets or sets whether to print/export the Background
Properties Gets Properties
Resolution Gets or sets the page's resolution in dots per inch (DPI)
RightX Returns the X coordinate of the page right edge
SelectableShapes Returns a collection of all the selectable shapes on the page
Shapes Gets the collection of shapes on the page, across all layers
SizeHeight Gets or sets the page height size
SizeWidth Gets or sets the page width size
Spread Returns the spread this page belongs to
TopY Returns the Y coordinate of the page top edge
TreeNode Returns the tree node object corresponding to the given page
Methods:
Name Description
Activate Activates an instance of a page
Autofit Resize the page to the bounds of the content placed on local layers
CreateLayer Creates a layer
CustomCommand Executes a page-specific command provided by a component
Delete Deletes an instance of a page from a document
FindClosestSnapPoint Finds a snap point closest to the given point on the page
FindShape Find a single shape by it's name, type or Static ID on the a referenced page
FindShapeAtPoint Finds a shape at the given point on the page. Return Nothing if none found at the given location.
FindShapes Returns a collection of shapes (ShapeRange) based on search criteria on a referenced page
GetBoundingBox Returns the position of lower left corner of the page and page dimensions
GetCenterPosition Returns the X and Y coordinates of the page center
GetObjectsBoundingBox Returns the bounding rectangle around the objects on the page
GetSize Gets the size of the page
MoveTo Moves the Page to a new page number within the document's page order
SelectShapesAtPoint Select all shapes beneath a given point and return a selection shape
SelectShapesFromRectangle Select all shapes in the given area and return a selection shape
SelectSize Changes the page size based on the given preset page size name
SetSize Sets the size of the page
TextFind Finds matching text on the page object, selects all matches and returns the first object
TextReplace Finds and replaces a string of text on the page
UnlockAllShapes Unlock All Shapes