ImageGear Professional v18.2 > API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > General Functions > IG_TWAIN_image_layout_get |
This function gets the image layout of the selected TWAIN device.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_image_layout_get( LPAT_DRECT rcdImgRect ); |
Name | Type | Description |
rcdImgRect | LPAT_DRECT | Pointer to an AT_DRECT representing the physical bounding box of the region to be acquired. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
You can use this to limit your capture region to a portion of the device's total area. The units are in inches by default. You can set the IG_TW_ICAP_UNITS capability to choose different units.
Use IG_TWAIN_source_open() to select the desired Data Source prior to calling this function.