API Documentation > CorelDRAW > 2025-v26 > Polygon > IVGPolygon
Polygon.Sharpness property
Gets or sets the polygon's sharpness
Syntax:
Property Get Sharpness() As Long
Property Let Sharpness(ByVal Value As Long)
Remarks:
The Sharpness property returns or specifies the sharpness of a star-shaped polygon. The maximum value of this property is determined by the number of sides contained by the star.
Examples:
The following VBA example sets the sharpness of the currently selected polygon.
Sub Test()
ActiveShape.Polygon.Sharpness = 2 
End Sub