DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / ScreenToImage Method
The point on the output space
The Viewer being used for display



In This Topic
    ScreenToImage Method (DicomImage3D)
    In This Topic
    Calculate where in image (X,Y) space, a given screen point lies
    Syntax
    'Declaration
     
    Public Overrides Function ScreenToImage( _
       ByVal ScreenLocation As PointF, _
       ByVal Viewer As DicomViewer _
    ) As Nullable(Of PointF)
    'Usage
     
    Dim instance As DicomImage3D
    Dim ScreenLocation As PointF
    Dim Viewer As DicomViewer
    Dim value As Nullable(Of PointF)
     
    value = instance.ScreenToImage(ScreenLocation, Viewer)
    public override Nullable<PointF> ScreenToImage( 
       PointF ScreenLocation,
       DicomViewer Viewer
    )
    public:
    Nullable<PointF> ScreenToImage( 
       PointF ScreenLocation,
       DicomViewer^ Viewer
    ) override 

    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 3.5 or higher

    See Also