DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage3D Class / ScreenToImage Method
The screen location.
The viewer.



In This Topic
    ScreenToImage Method (DicomImage3D)
    In This Topic
    Converts screen coordinates to image coordinates.
    Syntax
    'Declaration
     
    
    Public Overrides Function ScreenToImage( _
       ByVal ScreenLocation As SkiaSharp.SKPoint, _
       ByVal Viewer As DicomViewer _
    ) As Nullable(Of SKPoint)
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim ScreenLocation As SkiaSharp.SKPoint
    Dim Viewer As DicomViewer
    Dim value As Nullable(Of SKPoint)
     
    value = instance.ScreenToImage(ScreenLocation, Viewer)
    public override Nullable<SKPoint> ScreenToImage( 
       SkiaSharp.SKPoint ScreenLocation,
       DicomViewer Viewer
    )
    public:
    Nullable<SKPoint> ScreenToImage( 
       SkiaSharp.SKPoint ScreenLocation,
       DicomViewer^ Viewer
    ) override 

    Parameters

    ScreenLocation
    The screen location.
    Viewer
    The viewer.

    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