ImageGear Professional v18.2 > API Reference Guide > Display Component API Reference > Display Component Objects > IGPageDisplay Object > IGPageDisplay Methods > GetAdjustedDeviceRect Method |
Calculates rectangle that is the exact area in which the image is to be scaled during displaying. All options for drawing the image are taken from the current state of display parameters. This function does not perform any drawing, whether hDC is 0 or not.
GetAdjustedDeviceRect(hWnd As Long, hDC As Long) As IGRectangle
Name | Description |
---|---|
hWnd | Windows window handle whose attributes are used for calculation. |
hDC | Windows device context handle whose attributes are used for calculation. |
A new instance of IGRectangle Object.
N/A
Display