API Documentation > CorelDRAW > 2025-v26 > TextRange > IVGTextRange
TextRange.CharSpacing property
Gets/sets the character spacing property
Syntax:
Property Get CharSpacing() As Single
Property Let CharSpacing(ByVal Value As Single)
Remarks:
The CharSpacing property returns or specifies the spacing between the characters in a text range.
Examples:
The following VBA example sets the character spacing to 1.3.
Sub Test()
Dim d As Document
Dim s As Shape
Dim t As Text
Set d = CreateDocument
Set s = d.ActiveLayer.CreateParagraphText(2, 2, 4, 4, "This is an example.")
Set t = s.Text
t.Story.CharSpacing = 1.3 
End Sub