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