API Documentation > CorelDRAW > 2025-v26 > TextRange > IVGTextRange
TextRange.Overscore property
Gets/sets the Overscore property of the range
Syntax:
Property Get Overscore() As cdrFontLine
Property Let Overscore(ByVal Value As cdrFontLine)
Remarks:
The Overscore property returns or specifies whether an overline is applied to a text range.
Examples:
The following VBA example applies an overline to all the text in the paragraph.
Sub Test()
Dim t As Text
Dim s As Shape
Dim d As Document
Set d = CreateDocument
Set s = d.ActiveLayer.CreateParagraphText(2, 2, 8, 8, "This is an example.")
Set t = s.Text
t.Story.Overscore = cdrDoubleThinFontLine 
End Sub