DimStyleTable.Add Method (DimensionStyle, Boolean)

DimStyleTableAdd Method (DimensionStyle, Boolean)

Adds a new DimensionStyle to the document.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int Add(
	DimensionStyle dimstyle,
	bool reference
)
Public Function Add ( 
	dimstyle As DimensionStyle,
	reference As Boolean
) As Integer

Parameters

dimstyle
Type: Rhino.DocObjectsDimensionStyle
The dimension style to add
reference
Type: SystemBoolean
if true the dimstyle will not be saved in files.

Return Value

Type: Int32
index of new AnnotationStyle.
Version Information

Rhino for Windows

Supported in: 6.14
See Also