PdfDigitalSignatureAppearanceSetImage(Byte, Boolean) Method

Sets the background image to display in the appearance based on image data. The image format is automatically determined from the data. The supported formats are Jpeg, Png and Webp

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public void SetImage(
	byte[] imageData,
	bool keepAspect
)

Parameters

imageData  Byte
The image data
keepAspect  Boolean
If this parameter is false, the image is resized to fill the entire bounding rectangle. If this parameter is true, the image is resized to fit the bounding rectangle and is displayed centered in this rectangle, while preserving the image aspect ratio

See Also