|
|
|
|
- Properties specific to pdfSignature variables
- Visible or invisible signature
- Functions that use pdfSignature variables
pdfSignature (Type of variable) In french: pdfSignature
The pdfSignature type is used to define the advanced characteristics of the signature that will be applied to a PDF file: The characteristics of this signature can be defined and changed using different WLanguage properties. Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. MySignature is pdfSignature MySignature.Certificate = CertificateLoad("test.pfx", "pwd")[1] MySignature.Caption = "Signed by test" MySignature.X = 10 MySignature.Y = 10 MySignature.Width = 150 MySignature.Height = 50 PDFSign("MyPDFFile.pdf", MySignature) Remarks Properties specific to pdfSignature variables The following properties can be used to handle the signature of a PDF file: | | | Property name | Type used | Effect |
---|
BackgroundBrush | Integer constant | Pattern used to fill the signature border: - iCrossed: Crossed brush.
- iDiagonalCrossed: Brush crossed diagonally.
- iDownwardDiagonal: Downward diagonal brush.
- iUpwardDiagonal: Upward diagonal brush.
- iHorizontal: Horizontal brush.
- iSolid (default value): Solid brush.
- iVertical: Vertical brush.
| BackgroundColor | Integer constant | Background color used for the signature area. This parameter can correspond to: Before version 24, this property was named "BackgroundColor". | Border | Border variable | Description of signature border. | Caption | Character string | Texte of signature. To make a signature invisible, this property and the Image property must not be specified. The Caption property can also be an empty string. | Certificate | Certificate variable | Certificate used to sign the PDF. | Height | Real | Height of signature rectangle in the page (in millimeters). This height must be greater than 0. | HorizontalAlignment | Integer constant | Horizontal alignment of signature text: - iCenterH: Text horizontally centered.
- iLeft (default value): Text aligned to left.
- iRight: Text aligned to right.
| Image | Image variable | Signature image. To make a signature invisible, this property and the Caption property must not be specified. | Opacity | Integer | Opacity of the background color in the signature area. Value included between 0 and 100: - 0: Transparent background,
- 100: Opaque background.
| Page | Integer | Number of the page where the signature is displayed. This property is set to 0 by default (which means that the signature is displayed at the end of document). | VerticalAlignment | Integer constant | Vertical alignment of signature text: - iBottom: Text aligned at bottom.
- iCenterV: Text vertically centered.
- iTop (default value): Text aligned at top
| Width | Real | Width of signature rectangle in the page (in millimeters). This width must be greater than 0. | X | Real | X-coordinate of the position of the signature area in the page (in millimeters) | Y | Real | Y-coordinate of the position of the signature area in the page (in millimeters) |
Visible or invisible signature If the Caption and Image properties are not specified, the signature will be invisible: the document will be signed and a blue bar will be displayed by Adobe Reader but the signature will not be visible in the document. Otherwise, the signature will appear in the document with the parameters specified by the different properties of the pdfSignature type. Functions that use pdfSignature variables | | iPrintSignature | Prints an image of the signature in a rectangular area. | PDFSign | Applies an approval signature to an existing PDF. |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|