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)

[GuidAttribute("07B7CC7E-E66C-11D3-9454-00105AA31A08")]
public interface StyleSheets : IEnumerable

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.

Show:
© 2014 Microsoft