SignatureLine.Sign(String, String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Displays the Sign dialog box with the specified signature image or stamp, and the suggested signer's name, title, and e-mail address.
public:
bool Sign(System::String ^ bstrImageURL, System::String ^ bstrSuggestedSigner, System::String ^ bstrSuggestedSignerTitle, System::String ^ bstrSuggestedSignerEmailAddress);
public bool Sign (string bstrImageURL, string bstrSuggestedSigner, string bstrSuggestedSignerTitle, string bstrSuggestedSignerEmailAddress);
abstract member Sign : string * string * string * string -> bool
Public Function Sign (bstrImageURL As String, bstrSuggestedSigner As String, bstrSuggestedSignerTitle As String, bstrSuggestedSignerEmailAddress As String) As Boolean
Parameters
- bstrImageURL
- String
The path to the signature or stamp image to display in the control.
- bstrSuggestedSigner
- String
The name of the suggested signer.
- bstrSuggestedSignerTitle
- String
The title of the suggested signer.
- bstrSuggestedSignerEmailAddress
- String
The e-mail address of the suggested signer.
Returns
true if the signing operation succeeds; otherwise, false.
Remarks
The values for all of the parameters of the Sign(String, String, String, String) method are optional. To omit any parameter, pass a null reference (Nothing in Visual Basic) for that parameter. You can also pass String.Empty for the bstrSuggestedSigner
, bstrSuggestedSignerTitle
, and bstrSuggestedSignerEmail
parameters. If you pass a null reference (Nothing in Visual Basic) or String.Empty for a parameter and the value of the corresponding property was previously set programmatically or in the Signature Line control at design time, that value will be used when the form or set of data is signed.