DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / Shadow Property






Shadow Property
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
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