|
|
|
|
|
iPrintSignature (Function) In french: iImprimeSignature Prints an image of the signature in a rectangular area. The print job is not started (only iEndPrinting can be used to start the print job). Note: This signature will be used, for example, to sign generated PDF files or duplicates.
tabCertificat is array of Certificate
tabCertificat = CertificateList()
iDestination(iViewer)
iPrintSignature(iSignatureApproval, tabCertificat[1], "Mon certificat", 10, 10, 200, 200)
iEndPrinting()
Syntax
Printing a signature defined by a certificate Hide the details
<Result> = iPrintSignature(<Type of signature> , <Certificate> , <Label> , <X1> , <Y1> , <X2> , <Y2>)
<Result>: Boolean - True if the signature was printed,
- False in case of failure.
<Type of signature>: Integer constant Type and format of the signature: - Type of signature:
| | iSignatureApproval | Approval signature. An approval signature corresponds to a mark applied by another person to indicate that he/she approves the document content. | iSignatureCertification | Certification signature. A certification signature corresponds to a seal applied to the document to guarantee its integrity. |
- Signature format (can be combined with a signature type):
- PAdES (PDF Advanced Electronic Signatures):
| | iSignature_CAdES_B | CAdES Basic (CMS Advanced Electronic Signature). | iSignature_CAdES_C | CAdES C (CMS Advanced Electronic Signature). | iSignature_CAdES_T | CAdES Trust token (CMS Advanced Electronic Signature). | iSignature_CAdES_X | CAdES X Type 2 (CMS Advanced Electronic Signature). | iSignature_CAdES_XL | CAdES XL Type 2 (CMS Advanced Electronic Signature). |
- Adobe signature format:
| | iSignature_PKCS7 (default value) | PKCS7 signature. This is an Adobe standard format not approved by the ETSI and Chorus standards. |
<Certificate>: Certificate variable Name of the Certificate variable containing the signature to use. <Label>: Character string Text displayed in the signature area. <X1>: Real Horizontal coordinate of the upper-left corner of the signature area (in millimeters). Value between 0 and the page width (returned by iPageWidth). <Y1>: Real Vertical coordinate of the upper-left corner of the signature area (in millimeters). Value between 0 and the page height (returned by iPageHeight). <X2>: Real Horizontal coordinate of the lower-right corner of the signature area (in millimeters). Value between 0 and the page width (returned by iPageWidth). <Y2>: Real Vertical coordinate of the lower-right corner of the signature area (in millimeters). Value between 0 and the page height (returned by iPageHeight).
Printing a signature defined by a pdfSignature variable Hide the details
<Result> = iPrintSignature([<Type of signature>, ] <Signature>)
<Result>: Boolean - True if the signature was printed,
- False in case of failure.
<Type of signature>: Optional Integer constant Type and format of the signature: - Type of signature:
| | iSignatureApproval | Approval signature. An approval signature corresponds to a mark applied by another person to indicate that he/she approves the document content. | iSignatureCertification | Certification signature. A certification signature corresponds to a seal applied to the document to guarantee its integrity. |
- Signature format (can be combined with a signature type):
- PAdES (PDF Advanced Electronic Signatures):
| | iSignature_CAdES_B | CAdES Basic (CMS Advanced Electronic Signature). | iSignature_CAdES_C | CAdES C (CMS Advanced Electronic Signature). | iSignature_CAdES_T | CAdES Trust token (CMS Advanced Electronic Signature). | iSignature_CAdES_X | CAdES X Type 2 (CMS Advanced Electronic Signature). | iSignature_CAdES_XL | CAdES XL Type 2 (CMS Advanced Electronic Signature). |
- Adobe signature format:
| | iSignature_PKCS7 (default value) | PKCS7 signature. This is an Adobe standard format not approved by the ETSI and Chorus standards. |
<Signature>: pdfSignature variable Name of the pdfSignature variable containing the signature to use. Remarks - To print an image in the signature area, use iPrintImage:
iPrintSignature(iSignatureApproval, MaSignature, "", 150, 200, 250, 250)
iPrintImage("signature test.jpg", 150, 200, 250, 250)
- In a report created with the report editor, use a Signature control to sign the PDF files. For more details, see The Signature control.
- Attention: For a signed PDF file to be recognized by Acrobat, the organization issuing the signature certificate must be a member of the AATL list (Adobe Authorized Trust List) or the CDS (Certified Document Services) program..
If the certificate is not recognized, Acrobat will display the following message: "At least one signature has problems".
Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|