SetSignatureInfo Method (GdPicturePDF)
Sets up the additional signature information.
public GdPictureStatus SetSignatureInfo(
string ,
string ,
string ,
string
)
public function SetSignatureInfo(
: String;
: String;
: String;
: String
): GdPictureStatus;
public function SetSignatureInfo(
: String,
: String,
: String,
: String
) : GdPictureStatus;
public: GdPictureStatus SetSignatureInfo(
string* ,
string* ,
string* ,
string*
)
public:
GdPictureStatus SetSignatureInfo(
String^ ,
String^ ,
String^ ,
String^
)
'Declaration
Public Function SetSignatureInfo( _
ByVal As String, _
ByVal As String, _
ByVal As String, _
ByVal As String _
) As GdPictureStatus
Parameters
- Name
- The name of the person or authority signing the document.
- Reason
- The reason for the signing the document.
- Location
- The (physical) location of the signing.
- ContactInfo
- Information provided by the signer to enable a recipient to contact the signer to verify the signature, for example a phone number.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.
How to set up additional information for the subsequent signing. You can find the complete sample within the ApplySignature() method's example.
Dim caption As String = "SetSignatureInfo"
Dim gdpicturePDF As New GdPicturePDF()
'Please load the PDF document you want to sign.
'Please set the corresponding certificate - this is a mandatory step.
Dim status As GdPictureStatus = gdpicturePDF.SetSignatureInfo("Orpalis", "Important PDF", "Toulouse (France)", "contact@orpalis.com")
If status <> GdPictureStatus.OK Then
MessageBox.Show("The method SetSignatureInfo() has failed with the status " + status.ToString(), caption)
Goto [Error]
End If
'Please see the complete sample in the ApplySignature() method for next steps to follow.
[error]:
gdpicturePDF.Dispose()
string caption = "SetSignatureInfo";
GdPicturePDF gdpicturePDF = new GdPicturePDF();
//Please load the PDF document you want to sign.
//Please set the corresponding certificate - this is a mandatory step.
GdPictureStatus status = gdpicturePDF.SetSignatureInfo("Orpalis", "Important PDF", "Toulouse (France)", "contact@orpalis.com");
if (status != GdPictureStatus.OK)
{
MessageBox.Show("The method SetSignatureInfo() has failed with the status " + status.ToString(), caption);
goto error;
}
//Please see the complete sample in the ApplySignature() method for next steps to follow.
error:
gdpicturePDF.Dispose();