DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage Class / ScreenToImage Method
The point on the output space
The Viewer being used for display



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

    Parameters

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

    Return Value

    Point in 2D 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