SectionStyleTable Methods |
The SectionStyleTable type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Adds a new section style with specified definition to the table.
| |
| AddReferenceSectionStyle |
Adds a reference section style that will not be saved in files.
| |
| Clear |
Marks all items as deleted.
(Inherited from CommonComponentTableT.) | |
| Delete(SectionStyle) |
Deletes a section style.
(Overrides CommonComponentTableTDelete(T).) | |
| Delete(IEnumerableInt32, Boolean) |
Delete multiple section styles.
| |
| Delete(Int32, Boolean) |
Deletes a section style.
| |
| Delete(IEnumerableInt32, Boolean, Int32) |
Delete multiple section styles.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Find(String) | Finds the section style with a given name. | |
| Find(Guid, Boolean) | Finds a section style with a matching ID. | |
| FindId |
Uses the guid to find a model component. Deleted objects cannot be found by id.
The guid is the value that is stored in the .Id property.
In a single document, no two active objects have the same guid. If an object is
replaced with a new object, then the guid persists. For example, if the _Move command
moves an object, then the moved object inherits its guid from the starting object.
If the Copy command copies an object, then the copy gets a new guid. This guid persists
through file saving/opening operations. This function will not find grip objects.
(Inherited from CommonComponentTableT.) | |
| FindIndex |
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 | Finds the section style with a given name. | |
| GetEnumerator | (Overrides CommonComponentTableTGetEnumerator.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| GetUnusedSectionStyleName |
Gets unused section style name used as default when creating new section styles.
| |
| InUse |
Returns true if a section style is use by an object, layer, or instance definition.
| |
| Modify | Modify section style settings. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |