DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / ScreenToImage Method
The point on the output space
The Viewer being used for display






    ScreenToImage Method (DicomImage)
    Calculate where in image (X,Y) space, a given screen point lies
    Syntax
    'Declaration
     
    
    Public Overridable Function ScreenToImage( _
       ByVal ScreenLocation As System.Drawing.PointF, _
       ByVal Viewer As DicomViewer _
    ) As System.Nullable(Of PointF)
     
    'Usage
     
    
    Dim instance As DicomImage
    Dim ScreenLocation As System.Drawing.PointF
    Dim Viewer As DicomViewer
    Dim value As System.Nullable(Of PointF)
     
    value = instance.ScreenToImage(ScreenLocation, Viewer)

    Parameters

    ScreenLocation
    The point on the output space
    Viewer
    The Viewer being used for display

    Return Value

    Point in 2D space if appropriate, or null, for 3D images
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also