Share via


WorkbookBase.SmartDocument Property

Definition

Gets a Microsoft.Office.Core.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 Microsoft.Office.Core.SmartDocument that represents the settings for a smart document solution.

Examples

The following code example uses the SmartDocument property to display a dialog box that allows the user to pick an XML expansion pack to attach to the document.

This example is for a document-level customization.

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

Applies to