DicomObjects.NET.8.48 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
     
    
    <System.ComponentModel.BrowsableAttribute(False)>
    Public ReadOnly Property CurrentImage As DicomImage
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As DicomImage
     
    value = instance.CurrentImage
    [System.ComponentModel.Browsable(false)]
    public DicomImage CurrentImage {get;}
    public read-only property CurrentImage: DicomImage; 
    System.ComponentModel.BrowsableAttribute()
    public function get CurrentImage : DicomImage
    [System.ComponentModel.Browsable(false)]
    public: __property DicomImage* get_CurrentImage();
    [System.ComponentModel.Browsable(false)]
    public:
    property DicomImage^ CurrentImage {
       DicomImage^ get();
    }
    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