DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / Shadow Property



In This Topic
    Shadow Property
    In This Topic
    Controls whether a label is displayed with a contrasting shadow, to make it more visible over image areas with the same colour.
    Syntax
    'Declaration
     
    Public Property Shadow As Short
    'Usage
     
    Dim instance As DicomLabel
    Dim value As Short
     
    instance.Shadow = value
     
    value = instance.Shadow
    public short Shadow {get; set;}
    public:
    property short Shadow {
       short get();
       void set (    short value);
    }
    Remarks

    The allowable values are:

    • doShadowNone =0
    • doShadowTopLeft =1
    • doShadowTop =2
    • doShadowTopRight =4
    • doShadowRight =8
    • doShadowBottomRight =16
    • doShadowBottom =32
    • doShadowBottomLeft =64
    • doShadowLeft =128
    • doShadowAll =255

    Although defined as enumerated types, the values above can be (and normally are) combined and used as bit fields

    The shadow is drawn in the direction(s) indicated above displaced by one pixel from the main label, and it is drawn using the label’s BackColour colour.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also