API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.Distribute method
Distributes the shapes in the ShapeRange
Syntax:
Sub Distribute(ByVal Type As cdrDistributeType, Optional ByVal PageExtent As Boolean = False)
Parameters:
Name Type Description
Type
PageExtent
Boolean
Specifies whether to distribute the shapes to the extent of the page.
Remarks:
The Distribute method distributes the shapes in a shape range.