DicomObjects.NET10 Documentation
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 SkiaSharp.SKPoint, _
       ByVal Viewer As DicomViewer _
    ) As Nullable(Of SKPoint)
    'Usage
     
    
    Dim instance As DicomImage
    Dim ImageCoordinates As SkiaSharp.SKPoint
    Dim Viewer As DicomViewer
    Dim value As Nullable(Of SKPoint)
     
    value = instance.ImageToScreen(ImageCoordinates, Viewer)
    public virtual Nullable<SKPoint> ImageToScreen( 
       SkiaSharp.SKPoint ImageCoordinates,
       DicomViewer Viewer
    )
    public:
    virtual Nullable<SKPoint> ImageToScreen( 
       SkiaSharp.SKPoint ImageCoordinates,
       DicomViewer^ Viewer
    ) 

    Parameters

    ImageCoordinates
    The image coordinates
    Viewer
    The Viewer being used for display

    Return Value

    Point in 2D image space if appropriate
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also