SectionStyleTableAdd Method |
Adds a new section style with specified definition to the table.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic int Add(
SectionStyle sectionstyle
)
Public Function Add (
sectionstyle As SectionStyle
) As Integer
Parameters
- sectionstyle
- Type: Rhino.DocObjectsSectionStyle
Definition of new section style. The information in sectionstyle is
copied. If sectionstyle.Name is empty then a unique name of the form
"SectionStyle 01" will be automatically created.
Return Value
Type:
Int32
Index of new section style type or -1 on error.
See Also