GetPageMER

All Editions image\bltlrgss.gif Related Transactions  image\bltlrgss.gif Example

The GetPageMER transaction returns the extents (minimum enclosing rectangle--MER) for the specified page. Both displayed and hidden layers on the page are considered.

Type  XTYP_REQUEST

Syntax [GetPageMER(docwinID, pageID, units)]

Parameter

Data type

Values

Meaning

docwinID

DWORD

0 | docwinID

active | specific

pageID

DWORD

0 | pageID

current | specific

units

WORD

units to return the coordinates in:

 

 

1

inches

 

 

2

cm

 

 

4

feet

 

 

5

mm

 

 

6

m

 

 

9 | 10 | 11

custom 1 | 2 | 3. See Remarks.

Reply

Data type

Meaning

x1, y1

float

top-left coordinates of the extents

x2, y2

float

bottom-right coordinates of the extents

Remarks

To be used, custom units must be defined in Imagenation (through the Units category or dialog box).

Release information

Added in Release 5.02.

See also

Getting page and layer extents