DicomObjects.NET10 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 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also