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