Skip to content

DimStyleTable

Public Class

Inheritance Hierarchy

System.Object
Rhino.FileIO.CommonComponentTable. DimensionStyle.
Rhino.DocObjects.Tables.RhinoDocCommonTable. DimensionStyle.
Rhino.DocObjects.Tables.DimStyleTable

Namespace: Rhino.DocObjects.Tables

Assembly: RhinoCommon (in RhinoCommon.dll)

Syntax

public sealed class DimStyleTable : RhinoDocCommonTable<DimensionStyle>,
ICollection<DimensionStyle>, IEnumerable<DimensionStyle>, IEnumerable

The DimStyleTable type exposes the following members.

Properties

Name

Description


Public Property

Creates an array of default AnnotationStyle objects


Public Property

Returns DimStyle.

(Overrides

.)


Public Property

Returns the count of all items, including deleted ones.

(Inherited from CommonComponentTable.T..)


Public Property

Returns an instance of the current DimensionStyle.


Public Property

Obsolete.

Do not use. Use the

property.


Public Property

Public Property
Code Example

Public Property

Document that owns this table.

(Inherited from RhinoDocCommonTable.T..)


Public Property

Methods

Name

Description


Public Method

Adds a new AnnotationStyle to the document. The new AnnotationStyle will be initialized with the current default AnnotationStyle properties.


Public Method

Adds a new DimensionStyle to the document.


Public Method

Adds a new AnnotationStyle to the document. The new AnnotationStyle will be initialized with the current default AnnotationStyle properties.


Public Method

Marks all items as deleted.

(Inherited from CommonComponentTable.T..)


Public Method

Removes an annotation style.

(Overrides

.)


Public Method

Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Public Method

Public Method

Obsolete.


Public Method

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 CommonComponentTable.T..)


Public Method

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 Method

Finds the DimensionStyle with a given name and returns it. None is returned if no DimensionStyle is found.


Public Method

Public Method

(Overrides

.)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method

GetType

Gets the Type of the current instance.

(Inherited from Object.)


Public Method

Get a unique name for a style that does not already exist in the DimStyle table


Public Method

Get a unique name for a dimension style that does not already exist in the DimStyle table


Public Method

Public Method

Modifies dimension style settings.


Public Method

Modifies dimension style settings.


Public Method

Sets the

property.


Public Method

Obsolete.

Do not use. Use the

method.


Public Method

ToString

Returns a string that represents the current object.

(Inherited from Object.)