DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage3D Class / ImageToScreen Method
The image coordinates
The Viewer being used for display






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

    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.8 or higher

    See Also