This documentation is archived and is not being maintained.

Workbook.SmartDocument Property

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

Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)

public virtual SmartDocument SmartDocument { get; }

Property Value

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

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.

private void WorkbookSmartDocument()
{
    this.SmartDocument.PickSolution(true);
}

Show: