Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public ReadOnly Property SmartDocument As SmartDocument
public SmartDocument SmartDocument { get; }
Property Value
Type: SmartDocument
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 Sub WorkbookSmartDocument()
Me.SmartDocument.PickSolution(True)
End Sub
private void WorkbookSmartDocument()
{
this.SmartDocument.PickSolution(true);
}
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.