DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / CurrentImage Property






    CurrentImage Property
    A reference to the first image currently displayed by the DicomViewer control. If Viewer.CurrentIndex is out of the bounds of the Image collection null is returned
    Syntax
    'Declaration
     
    
    <System.ComponentModel.BrowsableAttribute(False)>
    Public ReadOnly Property CurrentImage As DicomImage
     
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As DicomImage
     
    value = instance.CurrentImage
    Remarks

    Viewer.CurrentImage is really just a convenient shorthand for:

    Viewer.Images[Viewer.CurrentIndex]

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also