Share via


UI2.ShowSignatureDialog method

Displays the Microsoft InfoPathDigital Signatures dialog box.

Namespace:  Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly:  Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)

Syntax

'Declaration
Sub ShowSignatureDialog
'Usage
Dim instance As UI2

instance.ShowSignatureDialog()
void ShowSignatureDialog()

Implements

UI.ShowSignatureDialog()

Remarks

The ShowSignatureDialog method can be used only in forms that have been enabled for digital signing. The method will return an error if used in a form that is not enabled for digital signing.

Important

This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.

Examples

In the following example, the ShowSignatureDialog method of the UIObject object is used to display the Microsoft InfoPath Digital Signatures dialog box:

thisXDocument.UI.ShowSignatureDialog();

See also

Reference

UI2 interface

UI2 members

ShowSignatureDialog overload

Microsoft.Office.Interop.InfoPath.SemiTrust namespace