Sdílet prostřednictvím


DocumentBase.SmartDocument Property

Definition

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

public:
 property Microsoft::Office::Core::SmartDocument ^ SmartDocument { Microsoft::Office::Core::SmartDocument ^ get(); };
public Microsoft.Office.Core.SmartDocument SmartDocument { get; }
member this.SmartDocument : Microsoft.Office.Core.SmartDocument
Public ReadOnly Property SmartDocument As SmartDocument

Property Value

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