ImageGear Professional v18.2 > API Reference Guide > Display Component API Reference > Display Component Objects > IGPageDisplay Object > IGPageDisplay Methods > ConvertCoordinates Method |
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.
ConvertCoordinates(lWnd As Long, lDC As Long, coordAr As
IGArray, Mode As enumIGDsplConvModes)
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 |
N/A
N/A
Display