IStyleCollection module
- class IStyleCollection.IStyleCollection
Bases:
ICollectionBase,IEnumerableRepresents a collection of styles.
- abstract Add(style: IStyle) int
Adds a style to the collection.
- Parameters:
style (IStyle) – The style to add.
- Returns:
The index at which the style was added.
- Return type:
int
- FindByName
Finds a style by its name.
- Parameters:
name (str) – The name of the style to find.
- Returns:
The found style.
- Return type:
