API Documentation > CorelDRAW > 2025-v26 > TextRange > IVGTextRange
TextRange.Bold property
Gets/sets the Bold property of the range
Syntax:
Property Get Bold() As Boolean
Property Let Bold(ByVal Value As Boolean)
Remarks:
The Bold property returns or specifies whether bold formatting is applied to a text range.
Examples:
The following VBA example applies bold formatting 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.Bold = True 
End Sub