ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Load Functions > IG_load_rect_get |
This function obtains the current load rectangle, as set in the last call to IG_load_rect_set.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_load_rect_get( LPAT_PIXPOS lpX, LPAT_PIXPOS lpY, LPAT_DIMENSION lpWidth, LPAT_DIMENSION lpHeight ); |
Name | Type | Description |
lpX | LPAT_PIXPOS | Pointer to variable of type AT_PIXPOS to receive X coordinate of load rectangle. |
lpY | LPAT_PIXPOS | Pointer to AT_PIXPOS variable to receive Y coordinate of load rectangle. |
lpWidth | LPAT_DIMENSION | Pointer to variable of type AT_DIMENSION to receive width of load rectangle. |
lpHeight | LPAT_DIMENSION | Pointer to variable of type AT_DIMENSION to receive height of load rectangle. |
This function does not process image pixels.
Copy Code
|
|
---|---|
AT_PIXPOS nXLoadCrop, /* X coordinate of load crop rectangle */ nYLoadCrop; /* Y coordinate */ AT_DIMENSION nWidCrop, /* Width of load crop rectangle */ nHiCrop; /* Height */ AT_ERRCOUNT nErrcount; /* Returned count of errors */ nErrcount = IG_load_rect_get ( &nXLoadCrop, &nYLoadCrop, &nWidCrop, &nHiCrop ); |