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)
Since: 5.0
Syntax public int Add(
string name,
bool reference
)
Public Function Add (
name As String,
reference As Boolean
) As Integer
Parameters
- name
- Type: SystemString
Name of the new AnnotationStyle. If null or empty, Rhino automatically generates the name.
- reference
- Type: SystemBoolean
if true the dimstyle will not be saved in files.
Return Value
Type:
Int32index of new AnnotationStyle.
See Also