DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / ScreenToWorld(PointF,DicomViewer) Method
The point on the output space
The Viewer being used for display



In This Topic
    ScreenToWorld(PointF,DicomViewer) Method
    In This Topic
    Calculate where in real world (X,Y,Z) space, a given screen point lies
    Syntax
    'Declaration
     
    Public Function ScreenToWorld( _
       ByVal ScreenLocation As PointF, _
       ByVal Viewer As DicomViewer _
    ) As Nullable(Of Point3D)
    'Usage
     
    Dim instance As DicomImage
    Dim ScreenLocation As PointF
    Dim Viewer As DicomViewer
    Dim value As Nullable(Of Point3D)
     
    value = instance.ScreenToWorld(ScreenLocation, Viewer)
    public Nullable<Point3D> ScreenToWorld( 
       PointF ScreenLocation,
       DicomViewer Viewer
    )
    public:
    Nullable<Point3D> ScreenToWorld( 
       PointF ScreenLocation,
       DicomViewer^ Viewer
    ) 

    Parameters

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

    Return Value

    Point in 3D space if appropriate, or null, if the necessary coordinate information is not available
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also