DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomViewer Class / CurrentImage Property



In This Topic
    CurrentImage Property
    In This Topic
    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
     
    
    Public ReadOnly Property CurrentImage As DicomImage
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As DicomImage
     
    value = instance.CurrentImage
    public DicomImage CurrentImage {get;}
    public:
    property DicomImage^ CurrentImage {
       DicomImage^ get();
    }
    Remarks

    Viewer.CurrentImage is really just a convenient shorthand for:

    Viewer.Images[Viewer.CurrentIndex]

    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