[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Applies the specified Extensible Stylesheet Language Transformation (XSLT) file to the document and replaces the document with the results.
Assembly: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
For information on optional parameters, see Optional Parameters in Office Solutions.
The following code example transforms only the data in the document using the specified XSLT file. This example assumes that the CustomTransform.xslt file exists at the root of the C directory. To use this example, run it from the ThisDocument class in a document-level project.
- 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.