Characters.FieldCategory property (Visio)
Returns the field category for a field represented by an object. Read-only.
expression A variable that represents a Characters object.
If the Characters object does not contain a field or contains non-field characters, the FieldCategory property returns an exception. Check the IsField property of the Characters object before getting its FieldCategory property.
Field categories correspond to those in the Category list in the Field dialog box (click Field on the Insert tab).
To add a custom field, use the AddCustomField method.
The following constants for field categories are declared by the Visio type library in VisFieldCategories.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.