PdfDigitalSignatureAppearanceSetImage(String, Boolean) Method

Sets the background image to display in the appearance based on the full path to an image file. The image format is automatically determined from the image 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(
	string imageFile,
	bool keepAspect
)

Parameters

imageFile  String
The full path of the image file
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