API Documentation > CorelDRAW > 2025-v26 > Shape > IVGShape
Shape.Outline property
Allows users to access the outline properties
Syntax:
Property Get Outline() As Outline
Remarks:
The Outline property returns an Outline object that represents the outline properties of a shape.
Examples:
The following VBA example applies a 0.1" wide outline to the selected object if it does not already have an outline.
Sub Test()
If ActiveShape.Outline.Type = cdrNoOutline Then
  ActiveShape.Outline.Width = 0.1
End If 
End Sub