DirectShape.IsValidCategoryId
Description:
Test the category id to make sure the category is allowed for a DirectShape or DirectShapeType.
Test the category id to make sure the category is allowed for a DirectShape or DirectShapeType.
-
categoryIdCategory id to be tested.
-
docDocument to look up the category by id.
Return Value
bool
True if the category is allowed for a DirectShape or DirectShapeType, false if not.
-
A non-optional argument was null