Description
This class is used to store the styles of a document. It is essentially a collection of named styles.
C#
vb.net
Remarks
You cannot create styles programmatically. You can only access Named Styles from an existing document. At this time, styles are read-only, but in the future you will be able to modify Named Styles using WordWriter.
The following example demonstrates how to get the styles from a document.
Examples
C#
vb.net
Indexers
Name |
Description |
---|---|
Returns a NamedStyle object that represents the named style that has the specified ID. | |
Returns a NamedStyle object that represents the named style that has the specified built in name. | |
Returns a NamedStyle object that represents the named style that has the specified string version of its name. |
Methods
Name |
Description |
---|---|
Returns an int that represents the number of styles in this collection. |