StyleSheets StyleSheets StyleSheets Interface

Definition

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
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 Application Application

Returns a Application object that represents the Microsoft Word application.

Count Count Count

Returns the number of items in the specified collection.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Item[Object] Item[Object] Item[Object]

Returns an individual object in a collection.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

Methods

Add(String, WdStyleSheetLinkType, String, WdStyleSheetPrecedence) Add(String, WdStyleSheetLinkType, String, WdStyleSheetPrecedence) Add(String, WdStyleSheetLinkType, String, WdStyleSheetPrecedence)

Returns a StyleSheet object that represents a new style sheet added to a Web document.

GetEnumerator() GetEnumerator() GetEnumerator()

Applies to