Document.SmartDocument Property (2007 System)
Gets a SmartDocument that represents the settings for a smart document solution.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public ReadOnly Property SmartDocument As SmartDocument
'Usage
Dim instance As Document
Dim value As SmartDocument
value = instance.SmartDocument
[BrowsableAttribute(false)]
public SmartDocument SmartDocument { get; }
[BrowsableAttribute(false)]
public:
property SmartDocument^ SmartDocument {
SmartDocument^ get ();
}
public function get SmartDocument () : SmartDocument
Property Value
Type: SmartDocument
A SmartDocument that represents the settings for a smart document solution.
Remarks
For more information on smart documents, see the Smart Document Software Development Kit on the Microsoft Developer Network (MSDN) Web site.
Examples
The following code example displays a list of valid XML expansion packs for the document.
This example is for a document-level customization.
Private Sub DocumentSmartDocument()
Me.SmartDocument.PickSolution(True)
End Sub
private void DocumentSmartDocument()
{
this.SmartDocument.PickSolution(true);
}
.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.