PdfSignature(X509Certificate2, Byte[], Int32, PdfOrientedRectangle) Constructor
Initializes a new instance of the PdfSignature class with the specified certificate, image data represented by a byte array, page number, signature bounds and signature rotation angle represented by a PdfOrientedRectangle object.
Namespace: DevExpress.Pdf
Assembly: DevExpress.Pdf.v23.2.Core.dll
NuGet Package: DevExpress.Pdf.Core
Declaration
public PdfSignature(
X509Certificate2 certificate,
byte[] imageData,
int pageNumber,
PdfOrientedRectangle signatureBounds
)
Parameters
Name | Type | Description |
---|---|---|
certificate | X509Certificate2 | A X509Certificate2 object that is an X.509 certificate. |
imageData | Byte[] | An array of bytes containing an image. |
pageNumber | Int32 | An integer value that specifies the page number where the signature should be added. |
signatureBounds | PdfOrientedRectangle | A PdfOrientedRectangle object that represents the signature bounds in the default user space and signature rotation angle (in radians). A positive angle means counterclockwise rotation; a negative angle means clockwise rotation. |