DimStyleTable Class

DimStyleTable Class

[Missing <summary> documentation for "T:Rhino.DocObjects.Tables.DimStyleTable"]

Inheritance Hierarchy

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class DimStyleTable : RhinoDocCommonTable<DimensionStyle>, 
	ICollection<DimensionStyle>, IEnumerable<DimensionStyle>, IEnumerable
Public NotInheritable Class DimStyleTable
	Inherits RhinoDocCommonTable(Of DimensionStyle)
	Implements ICollection(Of DimensionStyle), IEnumerable(Of DimensionStyle), 
	IEnumerable

The DimStyleTable type exposes the following members.

Properties
  NameDescription
Public propertyBuiltInStyles
Creates an array of default AnnotationStyle objects
Public propertyComponentType
Returns DimStyle.
(Overrides CommonComponentTableTComponentType.)
Public propertyCount
Returns the count of all items, including deleted ones.
(Inherited from CommonComponentTableT.)
Public propertyCurrent
Returns an instance of the current DimensionStyle.
Public propertyCurrentDimensionStyle Obsolete.
Do not use. Use the Current property.
Public propertyCurrentId
Public propertyCode exampleCurrentIndex
Public propertyDocument
Document that owns this table.
(Inherited from RhinoDocCommonTableT.)
Public propertyItem
Top
Methods
  NameDescription
Public methodAdd(String)
Adds a new AnnotationStyle to the document. The new AnnotationStyle will be initialized with the current default AnnotationStyle properties.
Public methodAdd(String, Boolean)
Adds a new AnnotationStyle to the document. The new AnnotationStyle will be initialized with the current default AnnotationStyle properties.
Public methodAdd(DimensionStyle, Boolean)
Adds a new DimensionStyle to the document.
Public methodClear
Marks all items as deleted.
(Inherited from CommonComponentTableT.)
Public methodDelete(DimensionStyle)
Removes an annotation style.
(Overrides CommonComponentTableTDelete(T).)
Public methodDelete(Int32, Boolean)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFind(Guid, Boolean)
Public methodFind(String, Boolean) Obsolete.
Public methodFindId
Uses the guid to find a model component. Deleted objects cannot be found by id. The guid is the value that is stored in the .Id property. In a single document, no two active objects have the same guid. If an object is replaced with a new object, then the guid persists. For example, if the _Move command moves an object, then the moved object inherits its guid from the starting object. If the Copy command copies an object, then the copy gets a new guid. This guid persists through file saving/opening operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.)
Public methodFindIndex
Retrieves a DimensionStyle object based on Index. This search type of search is discouraged. We are moving towards using only IDs for all tables.
Public methodFindName
Finds the DimensionStyle with a given name and returns it. None is returned if no DimensionStyle is found.
Public methodFindRoot
Public methodGetEnumerator (Overrides CommonComponentTableTGetEnumerator.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUnusedStyleName
Get a unique name for a style that does not already exist in the DimStyle table
Public methodGetUnusedStyleName(String)
Get a unique name for a dimension style that does not already exist in the DimStyle table
Public methodModify(DimensionStyle, AnnotationBase)
Public methodModify(DimensionStyle, Guid, Boolean)
Modifies dimension style settings.
Public methodModify(DimensionStyle, Int32, Boolean)
Modifies dimension style settings.
Public methodSetCurrent
Sets the Current property.
Public methodSetCurrentDimensionStyleIndex Obsolete.
Do not use. Use the SetCurrent(Int32, Boolean) method.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also