PdfRedactorSetOverlayImage(Byte, Boolean) Method
Sets an image drawn over each redacted 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
Namespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
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 each area.
If this parameter is true, the image is resized to fit each area and is displayed centered in the area,
while preserving the image aspect ratio