nUDOLeft, nUDOTop, nUDORight, nUDOBottom

<< Click to Display Table of Contents >>

Navigation:  UDO - User Defined Objects >

nUDOLeft, nUDOTop, nUDORight, nUDOBottom

Previous pageReturn to chapter overviewNext page

[Professional Edition and above, not available for Java, PHP, Python, Ruby]

Return each coordinate of the UDO rectangle (this is exactly the area you may paint in).

The properties are only accessible while you are processing the event DoUDOPaint() (VCL: OnUDOPaint(), .NET: UDOPaint()). Retrieving the values while not processing the event will return invalid - and therefore useless - data.

property VpeCoord VPE.nUDOLeft

property VpeCoord VPE.nUDOTop

property VpeCoord VPE.nUDORight

property VpeCoord VPE.nUDOBottom

read; runtime only

Returns:

the coordinates of the UDO which fired the currently processed UDO-Paint-Event

Remarks:

In contrast to the other n-Properties the nUDO-Properties return the bounding rectangle of the UDO in DEVICE COORDINATES (!) (pixels, not metric units). Therefore, independently from the resolution of the output device or the scaling factor of the preview, the coordinates are computed by VPE accordingly. Be it the 96 DPI screen, a 200 DPI fax, a 600 DPI printer or a 300 DPI export image (yes, UDO works with PictureExport, too!).