StyleSheets Interface

A collection of StyleSheet objects that represents the cascading style sheets attached to a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("07B7CC7E-E66C-11D3-9454-00105AA31A08")> _
Public Interface StyleSheets _
    Inherits IEnumerable
'Usage
Dim instance As StyleSheets
[GuidAttribute("07B7CC7E-E66C-11D3-9454-00105AA31A08")]
public interface StyleSheets : IEnumerable

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 method to add a style sheet to the StyleSheets collection.

See Also

Reference

StyleSheets Members

Microsoft.Office.Interop.Word Namespace