API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.AlignRangeToShape method
Aligns a shape range to the specified shape
Syntax:
Sub AlignRangeToShape(ByVal Type As cdrAlignType, ByVal Shape As Shape)
Parameters:
Name Type Description
Type
Shape
Remarks:
The AlignRangeToShape method aligns a shape range to a specified shape.