For PDFImage object

Applies to

PDFImage object

Description

Specifies the file name of the image for the PDFImage object.

The supported file formats include: bmp, j2k, jp2, jpeg, jpf, jpg, jpx, png, svg, tif, and tiff.

PDFWatermark does not support SVG images.

Data type

String.

Usage

In scripts

This example shows how to set an image for a PDFImage object:

lpdf_image = create pdfimage
lpdf_text = create pdftext

lpdf_image.filename = "D:\image1\1.jpg"