Share via


UI2.ShowSignatureDialog Method

Displays the Microsoft InfoPath 2010Digital 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 2010 Digital Signatures dialog box:

thisXDocument.UI.ShowSignatureDialog();

See Also

Reference

UI2 Interface

UI2 Members

ShowSignatureDialog Overload

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace