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



In This Topic
    ShowLabels Property (DicomViewer)
    In This Topic
    Controls whether the viewer�s labels (annotations) are shown on screen
    Syntax
    'Declaration
     
    Public Property ShowLabels As Boolean
    'Usage
     
    Dim instance As DicomViewer
    Dim value As Boolean
     
    instance.ShowLabels = value
     
    value = instance.ShowLabels
    public bool ShowLabels {get; set;}
    public:
    property bool ShowLabels {
       bool get();
       void set (    bool value);
    }
    Remarks

    If set false, then the DicomLabel objects in the viewer�s Labels collection are not displayed, but they remain present, and may be redisplayed by setting this property to true.

    Unlike other label manipulations, altering this property does cause the display to be updated to include or exclude the annotations as appropriate.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also