VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / PointToImage(Point) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
PointToImage(Point) Method (ImageViewer)
In This Topic
Computes the location of the specified control's point into image coordinates.
Syntax
'Declaration

Public Function PointToImage( _
ByVal clientPoint
The ImageViewer's coordinate System.Drawing.Point to convert.
As System.Drawing.Point _
) As System.Drawing.Point

Parameters

clientPoint
The ImageViewer's coordinate System.Drawing.Point to convert.

Return Value

A Point that represents the converted Point, clientPoint, in image coordinates.
Exceptions
ExceptionDescription
Thrown if viewer does not have image.
Requirements

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

See Also