Previous Document Next Document
StructAlignProperties.MaxCharacterSpacing

Property MaxCharacterSpacing As Single

Member of StructAlignProperties

The MaxCharacterSpacing property returns or sets the maximum amount of space that can exist between characters. This value represents a percentage of the space character (that is, the character inserted when you press the Spacebar). The maximum percentage value is 2000, and the minimum percentage value is -100.

The following code example specifies the adjustment range for character and word spacing in the selected text shape:

Sub Test() 
 With ActiveShape.Text.AlignProperties 
  .MaxCharacterSpacing = 200 
  .MinWordSpacing = 50 
  .MaxWordSpacing = 150 
 End With 
End Sub 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.