Sets the character spacing for the specified character block of the shape's text.
Applies to: Shape object
object.SetCharSpacing ( iFrom, iTo, charSpacing ) |
The SetCharSpacing method syntax has these parts:
Part | Description |
object | Required. An expression that returns a Shape object. |
iFrom | Required. An expression that returns a Long value. The index of the first character in the character block. |
iTo | Required. An expression that returns a Long value. The index of the last character in the character block. |
charSpacing | Required. An expression that returns a Single value. The character spacing. |
Note, that if the character block collection of the shape doesn't include the character block within the iFrom to iTo range, the SetCharSpacing method adds a new character block and applies the specified character spacing to it.