Previous Document Next Document
TextRange.CharSpacing

Property CharSpacing As Single

Member of TextRange

The CharSpacing property returns or sets the spacing between characters in a text range.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.