Click or drag to resize

DimStyleTableAdd Method (String, Boolean)

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

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
public int Add(
	string name,
	bool reference


Type: SystemString
Name of the new AnnotationStyle. If null or empty, Rhino automatically generates the name.
Type: SystemBoolean
if true the dimstyle will not be saved in files.

Return Value

Type: Int32
index of new AnnotationStyle.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also