Index

C/C++ Functions

pdImgSetXY

void pdImgSetXY(DT_PDDOC power_doc, DT_SLONG img, DT_SLONG x, DT_SLONG y)

Short Description: Change image's object origin point

The pdImgSetXY function changes the X, Y coordinates of an existing PowerDoc image. This makes it possible to move an exisitng image to a new position on the page.

Parameters

ParameterDescription

power_doc

Handle of the associated Power Engine document.

img

Image's index in the Power Engine document.

x

The new X coordinate of the specified PowerDoc image (or more precisely its origin point) on the page, in document units.

y

The new Y coordinate of the specified PowerDoc image (or more precisely its origin point) on the page, in document units.

Related Functions

pdImgGetXY
pdImgAdd

 

Index