DicomObjects.NET.V8
DicomObjects Namespace / DicomViewer Class / AutoDisplay Property



In This Topic
    AutoDisplay Property
    In This Topic

    Determines whether images newly added to the viewer control are automatically displayed. This is achieved, if necessary, by modification of the control�s CurrentIndex property.

    Syntax
    'Declaration
     
    Public Property AutoDisplay As Boolean
    'Usage
     
    Dim instance As DicomViewer
    Dim value As Boolean
     
    instance.AutoDisplay = value
     
    value = instance.AutoDisplay
    public bool AutoDisplay {get; set;}
    public:
    property bool AutoDisplay {
       bool get();
       void set (    bool value);
    }
    Remarks

    If the number of the latest image to be added to the control is new then the formula used is:

    CurrentIndex = max(0, new - MultiRows * MultiColumns)

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also