For PDFImage object

Applies to

PDFImage object

Description

Specifies the transparency of the image in the PDFImage object.

Data type

Long.

Usage

In scripts

The Transparency property takes an integer value in the range 0 to 100, where 0 means that the window is opaque and 100 (the default value) means that is completely transparent. Note that if the image is used as the watermark in a PDF document, the Transparency property of the PDFImage object will be ignored. Instead, the Transparency of the watermark will be applied.

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"
lpdf_image.transparency = 50