Index

C/C++ Functions

pdImgGetXY

void pdImgGetXY(DT_PDDOC power_doc, DT_SLONG img, DT_SLONG* x, DT_SLONG* y)

Short Description: Get image's object origin point

The pdImgGetXY function returns the X, Y coordinates of an existing PowerDoc image.

Parameters

ParameterDescription

power_doc

Handle of the associated Power Engine document.

img

Image's index in the Power Engine document.

x

A pointer to an integer variable that will hold the current X coordinate of the specified PowerDoc image (or more precisely its origin point) on the page, in document units.

y

A pointer to an integer variable that will hold the current Y coordinate of the specified PowerDoc image (or more precisely its origin point) on the page, in document units.

Related Functions

pdImgSetXY
pdImgAdd

 

Index