DocumentBase.SmartDocument Property

Definition

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

public Microsoft.Office.Core.SmartDocument SmartDocument { get; }

Property Value

SmartDocument

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

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 void DocumentSmartDocument()
{
    this.SmartDocument.PickSolution(true);
}
Private Sub DocumentSmartDocument()
    Me.SmartDocument.PickSolution(True)
End Sub 

Remarks

For more information on smart documents, see the Smart Document Software Development Kit on the Microsoft Developer Network (MSDN) Web site.

Applies to