DicomObjects.NET.8.48 Documentation
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 System.Boolean
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Boolean
     
    instance.AutoDisplay = value
     
    value = instance.AutoDisplay
    public System.bool AutoDisplay {get; set;}
    public read-write property AutoDisplay: System.Boolean; 
    public function get,set AutoDisplay : System.boolean
    public: __property System.bool get_AutoDisplay();
    public: __property void set_AutoDisplay( 
       System.bool value
    );
    public:
    property System.bool AutoDisplay {
       System.bool get();
       void set (    System.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.8 or higher

    See Also