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

 

   
Notes
 
     

This property controls the spacing between each word.

This property works in a similar way to the CharSpacing property but the value is added to only space characters in the string. This has the effect of spacing out words or pushing them together depending whether a positive or negative value is provided.

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")
theText = "This is an example of word spacing."
theDoc.TextStyle.Size = 72
theDoc.AddText theText
theDoc.Rect.Move 0, -300
theDoc.TextStyle.WordSpacing = 20
theDoc.AddText theText
theDoc.Rect.Move 0, -300
theDoc.TextStyle.WordSpacing = -20
theDoc.AddText theText
theDoc.Save "c:\mypdfs\stylewspace.pdf"


stylewspace.pdf

 

   

 

Browser Based Help. Published by chm2web software.