ImageGear Professional for Windows ActiveX
GetAdjustedDeviceRect Method

Description:

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.

Syntax:

      GetAdjustedDeviceRect(hWnd As Long, hDC As Long) As IGRectangle

Parameters:

Name Description
hWnd Windows window handle whose attributes are used for calculation.
hDC Windows device context handle whose attributes are used for calculation.

Return Value:

A new instance of IGRectangle Object.

Bits Per Pixel:

N/A

Sample:

Display

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback