API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.Chamfer method
Creates chamfers on each cusp corner of the shape
Syntax:
Sub Chamfer(ByVal DistanceA As Double, ByVal DistanceB As Double, Optional ByVal CombineSmoothSegments As Boolean = True)
Parameters:
Name Type Description
DistanceA
Double
DistanceB
Double
CombineSmoothSegments
Boolean
Specifies whether to combine smooth segments.
Remarks:
The Chamfer method creates a chamfer on each cusp corner of a shape.