Skip to main content

PdfSignatureBuilder.SetImageData(Byte[]) Method

Sets the signature’s image data.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public void SetImageData(
    byte[] imageData
)

Parameters

Name Type Description
imageData Byte[]

A byte array that represents image data.

Remarks

Use the PdfSignatureFieldInfo.SignatureBounds property to specify the signature location. If the SignatureBounds property is not specified, the signature is not visible.

The PDF Document API supports the signature image data in the following formats:

  • BMP;
  • JPEG;
  • PNG;
  • EMF+
  • TIFF;
  • GIF.

If the signature image is not provided, the signature is transparent.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SetImageData(Byte[]) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also