API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.Distribute method
Distributes the shapes evenly in the selection
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 evenly in a selection.