PdfRedactionAreaSetOverlayImage(Byte, Boolean) Method

Sets an image drawn over the area, after the fill color and under the overlay text. The image format is determined from the data. The supported formats are Jpeg, Png and Webp. When not set, the image set with SetOverlayImage(Byte, Boolean) is used; null draws no image

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
C#
public void SetOverlayImage(
	byte[] imageData,
	bool keepAspect = true
)

Parameters

imageData  Byte
The image data, or null for no image
keepAspect  Boolean  (Optional)
If this parameter is false, the image is resized to fill the area. If this parameter is true, the image is resized to fit the area and is displayed centered in the area, while preserving the image aspect ratio

See Also