ImageGear .NET v25.2 - Updated
ImageGear.Presentation Assembly / ImageGear.Display Namespace / ImGearPresentationPageDisplay Class / ConvertCoordinates Method / ConvertCoordinates(IImGearScrollableView,ImGearCoordConvModes,Array) Method
Represents the scrollable view object on which the image is drawn.
Specifies translation direction.
Array with point coordinates (ImageGear.Core.ImGearPoint or ImageGear.Core.ImGearDoublePoint).




In This Topic
    ConvertCoordinates(IImGearScrollableView,ImGearCoordConvModes,Array) Method
    In This Topic
    Translates coordinates between image and device coordinate systems.
    Syntax
    'Declaration
     
    Public Overloads Sub ConvertCoordinates( _
       ByVal pageView As IImGearScrollableView, _
       ByVal mode As ImGearCoordConvModes, _
       ByVal array As Array _
    ) 
    'Usage
     
    Dim instance As ImGearPresentationPageDisplay
    Dim pageView As IImGearScrollableView
    Dim mode As ImGearCoordConvModes
    Dim array As Array
     
    instance.ConvertCoordinates(pageView, mode, array)
    public void ConvertCoordinates( 
       IImGearScrollableView pageView,
       ImGearCoordConvModes mode,
       Array array
    )
    public: void ConvertCoordinates( 
       IImGearScrollableView* pageView,
       ImGearCoordConvModes mode,
       Array* array
    ) 
    public:
    void ConvertCoordinates( 
       IImGearScrollableView^ pageView,
       ImGearCoordConvModes mode,
       Array^ array
    ) 

    Parameters

    pageView
    Represents the scrollable view object on which the image is drawn.
    mode
    Specifies translation direction.
    array
    Array with point coordinates (ImageGear.Core.ImGearPoint or ImageGear.Core.ImGearDoublePoint).
    Remarks

    In GDI+ environment, device coordinates are expressed in pixels.

    In .Net WPF environment, device coordinates are expressed in WPF device independent units (1/96th inch per unit).

    If you display or print an image without an IImGearScrollableView object, use one of these overloads:

    • In GDI+: ConvertCoordinates(IImGearScrollableView, System.Drawing.Graphics, ImGearCoordConvModes, System.Array)
    • In WPF: ConvertCoordinates(System.Windows.Controls.Canvas, ImGearCoordConvModes, System.Array).
    See Also