ImageGear Professional v18.2 > API Reference Guide > Display Component API Reference > Display Component Objects > IGPageDisplay Object > IGPageDisplay Methods > ConvertPointCoordinates Method |
Translates an array of points from device coordinates to image coordinates, or otherwise - from image coordinates into device coordinates. It takes into account all display parameters including orientation and current scrolling position.
ConvertPointCoordinates(lWnd As Long, lDC As Long, lpPoint As
IGPoint, Mode As enumIGDsplConvModes)
Name | Description |
---|---|
lWnd | Handle of a window where the image is drawn. |
lDC | Handle of the device context used for drawing. Can be NULL, but if it is necessary to perform a calculation for the printer device context, then a real value should be provided. |
lpPoint | Pointer to an array of points that should be translated. |
Mode | This value of enumIGDsplConvModes Enumeration identifies the coordinate translation mode. |
None
All
None