DicomObjects.NET.8.48 Documentation
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 System.Short
    'Usage
     
    
    Dim instance As DicomLabel
    Dim value As System.Short
     
    instance.Shadow = value
     
    value = instance.Shadow
    public System.short Shadow {get; set;}
    public read-write property Shadow: System.Int16; 
    public function get,set Shadow : System.short
    public: __property System.short get_Shadow();
    public: __property void set_Shadow( 
       System.short value
    );
    public:
    property System.short Shadow {
       System.short get();
       void set (    System.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 4.8 or higher

    See Also