PdfRedactorSetOverlayImage(String, Boolean) Method
Sets an image drawn over each redacted area from an image file. The supported formats are Jpeg, Png and Webp
Namespace: EvoPdf.NextAssembly: EvoPdf.Next (in EvoPdf.Next.dll) Version: 15.0.0
public void SetOverlayImage(
string imageFile,
bool keepAspect = true
)
Parameters
- imageFile String
- The full path of the image file
- 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