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

    Parameters

    imagePoint
    The focused image coordinate System.Windows.Point to convert.

    Return Value

    A Point that represents the converted Point, clientPoint, in control 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