DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / WorldToScreen(Point3D,DicomViewer) Method
The point on the output space
The Viewer being used to display the image



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

    Parameters

    WorldLocation
    The point on the output space
    Viewer
    The Viewer being used to display the image

    Return Value

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

    Target Platforms: .NET CLR 3.5 or higher

    See Also