DicomObjects.NET8 Documentation
DicomObjects Namespace / DicomLabel Class / SelectMode Property



In This Topic
    SelectMode Property
    In This Topic
    Controls whether a label is highlighted using a box and/or “handles”
    Syntax
    'Declaration
     
    
    Public Property SelectMode As SelectMode
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As SelectMode
     
    instance.SelectMode = value
     
    value = instance.SelectMode
    public SelectMode SelectMode {get; set;}
    public:
    property SelectMode SelectMode {
       SelectMode get();
       void set (    SelectMode value);
    }
    Remarks

    The allowable values are:

    • None 0 No Highlighting
    • Box 1 A bounding box is drawn around the label
    • BoxHandles 2 Handles are drawn at the corners of the above box
    • AllHandles 4 Handles are drawn at all relevant 'points' (This only applies to labels of type dolabelPolygon, doLabelPolyline & doLabelArc)

    Although defined as enumerated types, the values above can be (and normally are) used as bit fields, so the value doSelectBox + doSelectBoxHandles gives a bounding box with visible corners.

    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