ImageGear Professional for Windows ActiveX
ConvertCoordinates Method

Description:

Translates coordinates between image logical coordinate system and device one. Translation direction is specified by Mode parameter. coordAr contains points with coordinates to translate. It can be IGPointArray Object or IGDoublePointArray Object.

Syntax:

      ConvertCoordinates(lWnd As Long, lDC As Long, coordAr As
IGArray, Mode As enumIGDsplConvModes)

Parameters:

Name Description
hWnd Handle of window where image is displayed
hDC Handle of device context where image is drawn
coordAr Array with points coordinates, IGPointArray Object or IGDoublePointArray Object
Mode Specify the translation direction, IG_DSPL_CONV_DEVICE_TO_IMAGE or IG_DSPL_CONV_IMAGE_TO_DEVICE

Return Value:

N/A

Bits Per Pixel:

N/A

Sample:

Display

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback