Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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.v24.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.

See Also