DicomObjects.NET.V8
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 Integer
    'Usage
     
    Dim instance As DicomViewer
    Dim value As Integer
     
    instance.CurrentIndex = value
     
    value = instance.CurrentIndex
    public int CurrentIndex {get; set;}
    public:
    property int CurrentIndex {
       int get();
       void set (    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.0 or higher

    See Also