.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfSignature(X509Certificate2, Stream, Int32, PdfOrientedRectangle) Constructor

Initializes a new instance of the PdfSignature class with the specified certificate, image data represented by a stream, page number, signature bounds and signature rotation angle represented by a PdfOrientedRectangle object.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v21.1.Core.dll

Declaration

public PdfSignature(
    X509Certificate2 certificate,
    Stream imageData,
    int pageNumber,
    PdfOrientedRectangle signatureBounds
)

Parameters

Name Type Description
certificate X509Certificate2

A X509Certificate2 object that is an X.509 certificate.

imageData Stream

A System.IO.Stream class descendant, specifying the stream with the image data.

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