ImageGear .NET v25.0 - Updated
ConvertCoordinates(IImGearScrollableView,Graphics,ImGearCoordConvModes,Array) Method




ImageGear.Core Assembly > ImageGear.Display Namespace > ImGearPageDisplay Class > ConvertCoordinates Method : ConvertCoordinates(IImGearScrollableView,Graphics,ImGearCoordConvModes,Array) Method
IImGearScrollableView interface; represents .NET form to draw the image on.
Graphics object used to draw the image.
Specifies translation direction; eitherIMAGE_TO_DEVICE orDEVICE_TO_IMAGE.
Array with point coordinates.
Translates coordinates between image and device coordinate systems (depending on the value of the "Mode" parameter). The array parameter can point to array of points or double points.
Syntax
'Declaration
 
Public Overloads Sub ConvertCoordinates( _
   ByVal pageView As IImGearScrollableView, _
   ByVal graphics As Graphics, _
   ByVal mode As ImGearCoordConvModes, _
   ByVal array As Array _
) 
'Usage
 
Dim instance As ImGearPageDisplay
Dim pageView As IImGearScrollableView
Dim graphics As Graphics
Dim mode As ImGearCoordConvModes
Dim array As Array
 
instance.ConvertCoordinates(pageView, graphics, mode, array)
public void ConvertCoordinates( 
   IImGearScrollableView pageView,
   Graphics graphics,
   ImGearCoordConvModes mode,
   Array array
)
public: void ConvertCoordinates( 
   IImGearScrollableView* pageView,
   Graphics* graphics,
   ImGearCoordConvModes mode,
   Array* array
) 
public:
void ConvertCoordinates( 
   IImGearScrollableView^ pageView,
   Graphics^ graphics,
   ImGearCoordConvModes mode,
   Array^ array
) 

Parameters

pageView
IImGearScrollableView interface; represents .NET form to draw the image on.
graphics
Graphics object used to draw the image.
mode
Specifies translation direction; eitherIMAGE_TO_DEVICE orDEVICE_TO_IMAGE.
array
Array with point coordinates.
See Also

Reference

ImGearPageDisplay Class
ImGearPageDisplay Members
Overload List
IImGearScrollableView Interface
ImGearCoordConvModes Enumeration