Shape.Characters Property
Visio Automation Reference |
Returns a Characters object that represents the text of a shape. Read-only.
Version Information
Version Added: Visio 3.0
Syntax
expression.Characters
expression A variable that represents a Shape object.
Return Value
Characters
Example
The following Microsoft Visual Basic for Applications (VBA) macro shows how to use the Characters property of a shape to get a Characters object. Once a Characters object has been retrieved, the example uses the Shape property of the Characters object to get the shape that contains the characters and demonstrates that the containing shape has been retrieved by printing its text in the Immediate window.
Visual Basic for Applications |
---|
|
See Also