StyleCollection Class |
Namespace: Spire.Doc.Collections
The StyleCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
Count |
Gets the number of items in the collection.
(Inherited from
CollectionEx
.)
|
|
|
Document |
Gets the document.
(Inherited from
OwnerHolder
.)
|
|
|
Item |
Gets the at the specified index.
|
| Name | Description | |
|---|---|---|
|
|
Add |
Adds Style to collection
|
|
|
ApplyDocDefaultsToNormalStyle |
Obsolete.
Applys the document default paragraph format and character format to normal style.
|
|
|
CreateItem | (Overrides DocumentSerializableCollection CreateItem(IXDLSContentReader) .) |
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from
Object
.)
|
|
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from
Object
.)
|
|
|
FindById |
Obsolete.
Finds Style by id
|
|
|
FindByIdentifier |
Finds Style by identifier
|
|
|
FindByIstd |
Obsolete.
Finds Style by istd.
|
|
|
FindByName(String) |
Finds Style by name
|
|
|
FindByName(String, StyleType) |
Finds Style by name
|
|
|
GetEnumerator |
Returns an enumerator that iterates through a collection.
(Inherited from
CollectionEx
.)
|
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from
Object
.)
|
|
|
GetTagItemName | (Overrides DocumentSerializableCollection GetTagItemName .) |
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from
Object
.)
|
|
|
MemberwiseClone |
Creates a shallow copy of the current
Object
.
(Inherited from
Object
.)
|
|
|
ToString |
Returns a string that represents the current object.
(Inherited from
Object
.)
|
| Name | Description | |
|---|---|---|
|
|
m_doc | (Inherited from OwnerHolder .) |