API Documentation
>
CorelDRAW
>
2025-v26
>
Shape
>
IVGShape
Shape.AlignToPage method
Aligns a shape to the page
Syntax:
Sub
AlignToPage
(
ByVal
Type
As
cdrAlignType
,
Optional
ByVal
TextAlignOrigin
As
cdrTextAlignOrigin
=
cdrTextAlignBoundingBox
)
Parameters:
Name
Type
Description
Type
cdrAlignType
TextAlignOrigin
cdrTextAlignOrigin
Specifies the origin of the text alignment.
Remarks:
The
AlignToPage
method aligns a shape to the page.