Share

Category Methods

The Category type exposes the following members.

Methods

 NameDescription
Public methodDisposeCauses the object to release immediately any resources it may be utilizing.
(Inherited from APIObject)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetBuiltInCategory Gets the BuiltInCategory value corresponding to the given built-in category identifier.
Public methodStatic memberGetBuiltInCategoryTypeId Gets the ForgeTypeId identifying the given built-in category.
Public methodStatic memberGetCategory(Document, BuiltInCategory)Retrieves a category object corresponding to a BuiltInCategory id.
Public methodStatic memberGetCategory(Document, ElementId) Retrieves a category object corresponding to the category id.
Public methodGetGraphicsStyleGets the graphics style associated with this category for the given graphics style type.
Public methodGetHashCode
(Overrides Object.GetHashCode())
Public methodGetLinePatternIdGets the line pattern id associated with this category for the given graphics style type.
Public methodGetLineWeightRetrieves the line weight assigned to the category for the given graphics style type.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIsBuiltInCategory Checks whether a ForgeTypeId identifies a built-in category.
Public methodStatic memberIsBuiltInCategoryValid Checks if a Category exists for a given BuiltInCategory.
Public methodSetLinePatternIdSets the line pattern id associated with this category for the given graphics style type.
Public methodSetLineWeightSets the line weight for the given graphics style type.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Was this information helpful?