This function shows the dialogue window for signature input, returns the result of the process completed and the entered signature in the RTF format.
0 | S_OK |
1 | SIGNATURE_CANCEL |
2 | SIGNATURE_NOT_CONNECTED |
3 | SIGNATURE_UNKNOWN_ERROR |
object.CaptureSignature(aSignatureRtfText)
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISSignature interface |
|
aSignatureRtfText |
Out, Required | object& |
int
Display the signature input dialog and show the entered image as the HTML document.
Dim aSignature
Dim aRtf
Dim aResult
Dim aHTML
Set aSignature = Form.Controls_("Signature1")
aResult = aSignature.CaptureSignature(aRtf)
if aResult = 0 then 'ok
aHTML = Profile.RTF2HTML(aRTF)
Profile.ShowHTML aHTML, "Entered Signature"
end if
aSignatureRtfText
added in v8.5.0