< Rev API Docs

The Category type exposes the following members.

Methods

  NameDescription
Public methodDispose
Causes the object to release immediately any resources it may be utilizing.
(Inherited from APIObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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 methodGetGraphicsStyle
Gets the graphics style associated with this category for the given graphics style type.
Public methodGetHashCode (Overrides Object..::..GetHashCode()()()().)
Public methodGetLinePatternId
Gets the line pattern id associated with this category for the given graphics style type.
Public methodGetLineWeight
Retrieves the line weight assigned to the category for the given graphics style type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberIsBuiltInCategoryValid
Checks if a Category exists for a given BuiltInCategory.
Public methodSetLinePatternId
Sets the line pattern id associated with this category for the given graphics style type.
Public methodSetLineWeight
Sets the line weight for the given graphics style type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

See Also