VUDO_XYZ Flags

<< Click to Display Table of Contents >>

Navigation:  UDO - User Defined Objects >

VUDO_XYZ Flags

Previous pageReturn to chapter overviewNext page

[Windows platform only, Professional Edition and above]

In addition to the method VpeGetUDODrawRect() you can retrieve each coordinate of the UDO rectangle with the method VpeGet() using one of the following V-Flags:

Constant Name

Value

Description

VUDO_LEFT

-104

only usable for VpeGet()

VUDO_RIGHT

-105

only usable for VpeGet()

VUDO_TOP

-106

only usable for VpeGet()

VUDO_BOTTOM

-107

only usable for VpeGet()

VUDO_WIDTH

-108

only usable for VpeGet()

VUDO_HEIGHT

-109

only usable for VpeGet()

 

The V-Flags above are only accessible while your application is processing the event VPE_UDO_PAINT. Retrieving the values while not processing the event will return invalid - and therefore useless - data.

In contrast to the other V-Flags, the VUDO_xyz Flags 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 Picture Export, too!).