Spacing Property

A Single type property. The spacing between characters for this character block.

Applies to: Character object

Syntax

[[Let] singleRet =] object.Spacing

[Let] object.Spacing = spacingSet

The Spacing property syntax has these parts:

Part Description
object Required. An expression that returns a Character object.
singleRet Optional. A Single type variable.
spacingSet Required. An expression that returns a Single value.

Remarks

The Spacing property can take any positive or zero values.

The Spacing property is also a table parameter of the shape which contains the object character block, that is, its value can be described by a formula. To work with Spacing as a table parameter, use the CDPT_CHAR_SPACING constant tag.

Example

Dim MyShape As Shape

' Shape with ID 1 must exist on the current page
Set MyShape = thisDoc.ActivePage.ShapeByID(1) ' Change character spacing for MyShape.Character(2) ' (assume Character(2) exists in MyShape)
MyShape.Character(2).Pos = 20 'change spacing property
' Inform ConceptDraw Engine about the changes MyShape.PropertyChanged(CDPT_CHAR_SPACING)

 

See Also

SetCharSpacing method