DicomObjects.NET.V8
DicomObjects Namespace / DicomImage Class / ImageToScreen Method
The image coordinates
The Viewer being used for display



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

    Parameters

    ImageCoordinates
    The image coordinates
    Viewer
    The Viewer being used for display

    Return Value

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

    Target Platforms: .NET CLR 4.0 or higher

    See Also