Edytuj

Udostępnij za pośrednictwem


SignatureLineObject Interface

Definition

Represents a Signature Line control in a view.

public interface class SignatureLineObject : Microsoft::Office::Interop::InfoPath::SignatureLine
[System.Runtime.InteropServices.Guid("096CD768-0786-11D1-95FA-0080C78EE3BB")]
public interface SignatureLineObject : Microsoft.Office.Interop.InfoPath.SignatureLine
type SignatureLineObject = interface
    interface SignatureLine
Public Interface SignatureLineObject
Implements SignatureLine
Derived
Attributes
Implements

Remarks

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeSignatureLine

The SignatureLineObject class provides programmatic access to a Signature Line control in a view. To access an instance of the SignatureLineObject class associated with a Signature Line control, use the SignatureLinesCollection that is associated with the view that contains the control.

Only a subset of the properties of the Signature Line control are exposed through the SignatureLineObject class and its associated members of the object model. For example, the properties for specifying the size and tab index of the control can be set only by using the InfoPath designer. However, properties, such as the SuggestedSigner, SuggestedSignerTitle, and SuggestedSignerEmailAddress properties, can be used to get or set the name, title, and e-mail address of the suggested signer for the control. Use the Signature property to return a SignatureLineObject object associated with the control, which you can then use to access the digital signature associated with the control. The Sign(String, String, String, String) method can be used programmatically display the Sign dialog box to initiate signing.

Properties

Id

Gets the value of the control's ID property.

(Inherited from SignatureLine)
Signature

Gets the SignatureObject object associated with the control.

(Inherited from SignatureLine)
SignatureAppearanceType

Gets a value that indicates the appearance of the control.

(Inherited from SignatureLine)
SuggestedSigner

Gets or sets the name of the suggested signer that is displayed in the control.

(Inherited from SignatureLine)
SuggestedSignerEmailAddress

Gets or sets the e-mail address of the suggested signer for the control.

(Inherited from SignatureLine)
SuggestedSignerTitle

Gets or sets the title of the suggested signer that is displayed in the control.

(Inherited from SignatureLine)

Methods

Sign(String, String, String, String)

Displays the Sign dialog box with the specified signature image or stamp, and the suggested signer's name, title, and e-mail address.

(Inherited from SignatureLine)

Applies to