SignatureLineObject interface
Represents a Signature Line control in a view.
Namespace: Microsoft.Office.Interop.InfoPath.SemiTrust
Assembly: Microsoft.Office.Interop.InfoPath.SemiTrust (in Microsoft.Office.Interop.InfoPath.SemiTrust.dll)
Syntax
'Declaration
<GuidAttribute("096cd768-0786-11d1-95fa-0080c78ee3bb")> _
Public Interface SignatureLineObject _
Inherits SignatureLine
'Usage
Dim instance As SignatureLineObject
[GuidAttribute("096cd768-0786-11d1-95fa-0080c78ee3bb")]
public interface SignatureLineObject : SignatureLine
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.