API Documentation > CorelDRAW > 2025-v26 > Outline > IVGOutline
Outline.LineCaps property
Gets or sets LineCaps
Syntax:
Property Get LineCaps() As cdrOutlineLineCaps
Property Let LineCaps(ByVal Value As cdrOutlineLineCaps)
Remarks:
The LineCaps property returns or specifies the endpoint style of an open-path outline. The LineCaps property has a value of cdrOutlineLineCaps.
Examples:
The following VBA example assigns round line caps and round joins to the outline of the selected shape.
Sub Test()
ActiveShape.Outline.LineCaps = cdrOutlineRoundLineCaps
ActiveShape.Outline.LineJoin = cdrOutlineRoundLineJoin 
End Sub