Back to Devexpress

PdfSignatureBuilder.SetImageData(String) Method

officefileapi-devexpress-dot-pdf-dot-pdfsignaturebuilder-dot-setimagedata-x28-system-dot-string-x29.md

latest1.5 KB
Original Source

PdfSignatureBuilder.SetImageData(String) Method

Sets the signature’s image data.

Namespace : DevExpress.Pdf

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

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public void SetImageData(
    string fileName
)
vb
Public Sub SetImageData(
    fileName As String
)

Parameters

NameTypeDescription
fileNameString

A path to the image file.

|

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 signature image data in the following formats:

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

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

See Also

PdfSignatureBuilder Class

PdfSignatureBuilder Members

DevExpress.Pdf Namespace