DicomObjects.NET.V8
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
    • BoxHangles 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: .NET CLR 3.5 or higher

    See Also