VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / PointFromControlToImage(Point) Method
Syntax Exceptions Requirements SeeAlso
    PointFromControlToImage(Point) Method (WpfImageViewer)
    Computes the location of the specified control's point into image coordinates.
    Syntax
    'Declaration
    
    Public Function PointFromControlToImage( _
    ByVal controlPoint
    The ImageViewer's coordinate System.Drawing.PointF to convert.
    As System.Windows.Point _
    ) As System.Windows.Point
     

    Parameters

    controlPoint
    The ImageViewer's coordinate System.Drawing.PointF to convert.

    Return Value

    A PointF that represents the converted PointF, clientPoint, in image coordinates.
    Exceptions
    ExceptionDescription
    Thrown if viewer does not have 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