API Documentation
>
CorelDRAW
>
2025-v26
>
ShapeRange
>
IVGShapeRange
ShapeRange.AlignToPage method
Aligns all shapes of the range to the page's edges
Syntax:
Sub
AlignToPage
(
ByVal
Type
As
cdrAlignType
,
Optional
ByVal
TextAlignOrigin
As
cdrTextAlignOrigin
=
cdrTextAlignBoundingBox
)
Parameters:
Name
Type
Description
Type
cdrAlignType
TextAlignOrigin
cdrTextAlignOrigin
Specifies the origin for text alignment.
Remarks:
The
AlignToPage
method aligns all the shapes in a shape range to the edges of the page.