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



In This Topic
    PointToImage Method (WpfImageViewer)
    In This Topic
    Computes the location of the specified control's point into image coordinates.
    Syntax
    'Declaration
     
    <ObsoleteAttribute("This method is obsolete, use the PointFromControlToImage method instead.")>
    Public Function PointToImage( _
       ByVal controlPoint As Point _
    ) As Point
    [Obsolete("This method is obsolete, use the PointFromControlToImage method instead.")]
    public Point PointToImage( 
       Point controlPoint
    )
    [Obsolete("This method is obsolete, use the PointFromControlToImage method instead.")]
    public: Point PointToImage( 
       Point controlPoint
    ) 
    [Obsolete("This method is obsolete, use the PointFromControlToImage method instead.")]
    public:
    Point PointToImage( 
       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