Document.StyleSheets Property (2007 System)
Gets a StyleSheets object that represents the Web style sheets attached to the document.
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
The following code example adds a style sheet to the document. The code example assumes that a style sheet called WebSite.css exists at the root of the C directory.
This example is for a document-level customization.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.