WorkbookBase.SmartDocument Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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