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






In This Topic
    CurrentIndex Property
    In This Topic
    Determines the images to be displayed by the DicomViewer control.
    Syntax
    'Declaration
     
    
    Public Property CurrentIndex As System.Integer
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Integer
     
    instance.CurrentIndex = value
     
    value = instance.CurrentIndex
    public System.int CurrentIndex {get; set;}
    public read-write property CurrentIndex: System.Integer; 
    public function get,set CurrentIndex : System.int
    public: __property System.int get_CurrentIndex();
    public: __property void set_CurrentIndex( 
       System.int value
    );
    public:
    property System.int CurrentIndex {
       System.int get();
       void set (    System.int value);
    }
    Remarks
    This defines the index (0-based) of the image displayed in the top left corner of the display matrix (or the only image if MultiRows and MultiColumns are 1). If MultiRows or MultiColumns are greater than 1, then other images are displayed sequentially along and then down.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also