Index

C/C++ Functions

pdImgDup

DT_SLONG pdImgDup(DT_PDDOC power_doc, DT_SLONG img)

Short Description: Duplicate existing image

The pdImgDup function duplicates an existing PowerDoc image. The duplicated image is an exact copy (clone) of the PowerDoc image img.

Parameters

ParameterDescription

power_doc

Handle of the associated Power Engine document.

img

Index identifying the PowerDoc image to be duplicated.

Return Value

The return value is the images's index in the Power Engine document. This number uniquely identifies the new clone image. For this reason, we sometimes refer to this index as the image's unique serial number.

If an error occurs, the return value will be a negative number.

Related Functions

pdImgAdd

 

Index