Skip to main content

PdfSignature(X509Certificate2, Byte[], Int32, PdfRectangle) Constructor

Initializes a new instance of the PdfSignature class with the specified certificate, image data represented by a byte array, page number and the signature bounds represented by a PdfRectangle 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,
    PdfRectangle 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 PdfRectangle

A PdfRectangle object that represents the signature bounds in the default user space.

See Also