Table of contents
TOC
Collapse the table of content
Expand the table of content

Characters.FieldCategory Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Returns the field category for a field represented by an object. Read-only.

Syntax

expression . FieldCategory

expression A variable that represents a Characters object.

Return Value

Integer

Remarks

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 .

**Constant ****Value **
visFCatCustom0
visFCatDateTime1
visFCatDocument2
visFCatGeometry3
visFCatObject4
visFCatPage5
© 2018 Microsoft