HASCATEGORY Function
Returns TRUE if the specified string is found in the shape's category list.
Version Information
Version Added: Visio 2010
Syntax
HASCATEGORY(category)
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
category |
Required |
String |
The category to search for. |
Return Value
Boolean
Remarks
Categories are user-defined strings that you can use to categorize shapes. You can define categories in the User.msvShapeCategories cell in the ShapeSheet for a shape. You can define multiple categories for a shape by separating the categories with semi-colons.