VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / PointToControl(PointF) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    PointToControl(PointF) Method (ImageViewer)
    In This Topic
    Computes the location of the image point into control coordinates.
    Syntax
    'Declaration
    
    Public Function PointToControl( _
    ByVal imagePoint
    The image coordinate System.Drawing.PointF to convert.
    As System.Drawing.PointF _
    ) As System.Drawing.PointF
    public System.Drawing.PointF PointToControl(
    System.Drawing.PointF imagePoint
    )
    public: System.Drawing.PointF PointToControl(
    System.Drawing.PointF imagePoint
    )
    public:
    System.Drawing.PointF PointToControl(
    System.Drawing.PointF imagePoint
    )

    Parameters

    imagePoint
    The image coordinate System.Drawing.PointF to convert.

    Return Value

    Point in control coordinates.
    Exceptions
    ExceptionDescription
    Thrown if viewer does not contain image.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also