Document.XMLUseXSLTWhenSaving Property
Gets or sets a value that indicates whether to save a document through an Extensible Stylesheet Language Transformation (XSLT).
Namespace: Microsoft.Office.Tools.Word
Assemblies: Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
Property XMLUseXSLTWhenSaving As Boolean
bool XMLUseXSLTWhenSaving { get; set; }
Property Value
Type: System.Boolean
true if the document is saved through an XSLT; otherwise, false.
Remarks
When setting the XMLUseXSLTWhenSaving property to true, use the XMLSaveThroughXSLT property to specify the path and file name of the XSLT to use.
.NET Framework Security
- 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.