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




ImageGear.Core Assembly > ImageGear.Display Namespace > IImGearPageDisplay Interface > 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
 
Overloads Sub ConvertCoordinates( _
   ByVal pageView As IImGearScrollableView, _
   ByVal graphics As Graphics, _
   ByVal mode As ImGearCoordConvModes, _
   ByVal array As Array _
) 
'Usage
 
Dim instance As IImGearPageDisplay
Dim pageView As IImGearScrollableView
Dim graphics As Graphics
Dim mode As ImGearCoordConvModes
Dim array As Array
 
instance.ConvertCoordinates(pageView, graphics, mode, array)
void ConvertCoordinates( 
   IImGearScrollableView pageView,
   Graphics graphics,
   ImGearCoordConvModes mode,
   Array array
)
void ConvertCoordinates( 
   IImGearScrollableView* pageView,
   Graphics* graphics,
   ImGearCoordConvModes mode,
   Array* array
) 
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

IImGearPageDisplay Interface
IImGearPageDisplay Members
Overload List
IImGearScrollableView Interface
ImGearCoordConvModes Enumeration