VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / PointFromControlToImage Method
The ImageViewer's coordinate System.Drawing.PointF to convert.



In This Topic
    PointFromControlToImage Method
    In This Topic
    Computes the location of the specified control's point into image coordinates.
    Syntax
    'Declaration
     
    Public Function PointFromControlToImage( _
       ByVal controlPoint As Point _
    ) As Point
    public Point PointFromControlToImage( 
       Point controlPoint
    )
    public: Point PointFromControlToImage( 
       Point controlPoint
    ) 
    public:
    Point PointFromControlToImage( 
       Point controlPoint
    ) 

    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: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also