Example: IN_GetObjectMER

 

DOUBLE x1, y1, x2, y2;

 

/* Get the extents in cm of layer 1024 in the active document window */

if ( ( nError = IN_GetObjectMER( 1024, IN_UNITS_CM, &x1, &y1, &x2, &y2 ) ) != IN_SUCCESS )

 {

  ErrorHandler( nError, "Error message:" );

 }