StyleSheets Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of StyleSheet objects that represents the cascading style sheets attached to a document.
public interface class StyleSheets : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("07B7CC7E-E66C-11D3-9454-00105AA31A08")]
public interface StyleSheets : System.Collections.IEnumerable
type StyleSheets = interface
interface IEnumerable
Public Interface StyleSheets
Implements IEnumerable
- Attributes
- Implements
Remarks
The StyleSheets collection includes all cascading style sheets displayed in the Linked CSS Style Sheets dialog box, accessed using the Templates and Add-ins command (Tools menu).
Use the StyleSheets property to return the StyleSheets collection. Use the Add(String, WdStyleSheetLinkType, String, WdStyleSheetPrecedence) method to add a style sheet to the StyleSheets collection.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Count |
Returns the number of items in the specified collection. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Item[Object] |
Returns an individual object in a collection. |
Parent |
Returns an object that represents the parent object of the specified object. |
Methods
Add(String, WdStyleSheetLinkType, String, WdStyleSheetPrecedence) |
Returns a StyleSheet object that represents a new style sheet added to a Web document. |
GetEnumerator() |