createCategory
Create category of project labels
Syntax
Description
createCategory(
creates new categories of labels in the specified project.proj
,categoryNames
)
createCategory(
also specifies the type of data to store in labels of the new categories.proj
,categoryNames
,dataType
)
createCategory(
specifies single-valued categories, where you can attach only one label from the
categories to a file. If you do not specify a single-valued category, then you can
attach multiple labels from the category to a file.proj
,categoryNames
,dataType
,"single-valued")
returns the new category as a categories
= createCategory(___)Category
object. Use this syntax with
any of the previous input argument combinations.
Examples
Input Arguments
Output Arguments
Tips
After you create a new category, you can create labels in the new category using the
createLabel
function.