Share via


DocumentBase.SmartDocument Property

Gets a SmartDocument that represents the settings for a smart document solution.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property SmartDocument As SmartDocument
    Get
public SmartDocument SmartDocument { get; }

Property Value

Type: Microsoft.Office.Core.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. To use this example, run it from the ThisDocument class in a document-level project.

Private Sub DocumentSmartDocument()
    Me.SmartDocument.PickSolution(True)
End Sub 
private void DocumentSmartDocument()
{
    this.SmartDocument.PickSolution(true);
}

.NET Framework Security

See Also

Reference

DocumentBase Class

Microsoft.Office.Tools.Word Namespace