# SectionStyleTable class

Namespace: [Rhino.DocObjects.Tables](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.docobjects.tables.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md) · Since v9.0

```cs
public sealed class SectionStyleTable : RhinoDocCommonTable<SectionStyle>, ICollection<SectionStyle>
```

Section style table

## Properties

- [ActiveCount](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/activecount.md): Returns number of section styles in the table, excluding deleted section styles.
- [ComponentType](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/componenttype.md)
- [Count](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/count.md): Returns number of section styles in the section style table, including deleted section styles. This count also spans table slots emptied by a purge, so it can be larger than the number of section styles that are actually there. See the remarks on the indexer.
- [Document](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/document.md): Document that owns this table.

## Indexers

- [this[]](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/item.md): Conceptually, the section style table is an array of section styles. The operator[] can be used to get individual section styles. A section style is either active or deleted and this state is reported by SectionStyle.IsDeleted.

## Methods

- [Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/add.md): Adds a new section style with specified definition to the table.
- [AddReferenceSectionStyle](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/addreferencesectionstyle.md): Adds a reference section style that will not be saved in files.
- [Delete](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/delete.md): (4 overloads) Deletes a section style.
- [Find](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/find.md): (2 overloads) Finds a section style with a matching ID.
- [FindIndex](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/findindex.md): Retrieves a section style based on Index. This search type of search is discouraged. We are moving towards using only IDs for all tables.
- [FindName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/findname.md): Finds the section style with a given name.
- [GetEnumerator](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/getenumerator.md)
- [GetUnusedSectionStyleName](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/getunusedsectionstylename.md): Gets unused section style name used as default when creating new section styles.
- [InUse](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/inuse.md): Returns true if a section style is use by an object, layer, or instance definition.
- [Modify](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/modify.md): Modify section style settings.
- [ICollection<SectionStyle>.Add](https://developer.rhino3d.com/api/rhinocommon/type/rhino.docobjects.tables.sectionstyletable/system-collections-generic-icollection-rhino-docobjects-sectionstyle-add.md)

## Inherited Members

- From [CommonComponentTable<T>](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1.md): [Clear](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/clear.md), [FindId](https://developer.rhino3d.com/api/rhinocommon/type/rhino.fileio.commoncomponenttable-1/findid.md)
