Type   Default Value   Read Only   Description
Float 0.0 No The inter-character spacing in points.

 

   
Notes
 
     

This property controls the spacing between each character. It is sometimes called tracking or kerning.

Each character in a string of text has a width which is used for positioning the next character. The CharSpacing is added to the width of each character.

Specifying a positive values has the effect of stretching out the text. Specifying negative values has the effect of condensing the text.

Because this property is measured in points the visual effect will be greater if your text is smaller.

 

   
Example
 
     

In this example we add three blocks of text to a document. The first block uses the default spacing. The second block uses a positive value to stretch out the text. The last block uses a negative value to condense the text.

Set theDoc = Server.CreateObject("ABCpdf3.Doc")
theDoc.TextStyle.Size = 96
theDoc.AddText "Zero CharSpacing"
theDoc.Rect.Move 0, -300
theDoc.TextStyle.CharSpacing = 10
theDoc.AddText "Positive CharSpacing"
theDoc.Rect.Move 0, -300
theDoc.TextStyle.CharSpacing = -10
theDoc.AddText "Negative CharSpacing"
theDoc.Save "c:\mypdfs\stylecspace.pdf"


stylecspace.pdf

 

 

   

 

Browser Based Help. Published by chm2web software.