Character Method

Returns a Character object, that corresponds to a character block by its index in the character block collection of the shape.

Applies to: Shape object

Syntax

[[Set] characterRet =] object.Character ( index )

The Character method syntax has these parts:

Part Description
object

Required. An expression that returns a Shape object.

index Required. An expression that returns a Long value. The index of the character block in the character block collection of the shape.
characterRet Optional. A Character type variable.

Remarks

If index is less than 1 or greater than the number of character blocks of the shape, the Character method returns Nothing. To find out the number of character blocks in the shape, use the CharactersNum method.

 

See Also

CharactersNum method, GetCharacterIndex method, RemoveCharacter method, SetCharColor method, SetCharFont method, SetCharHyperlink method, SetCharLanguage method, SetCharPos method, SetCharSize method, SetCharSpacing method, SetCharStyle method, Character object