Page tree
Skip to end of metadata
Go to start of metadata

Description

Sets or returns whether the chart region will have a shadow.
C#
vb.net

Remarks

By default, new charts do not have a shadow.

Charts which have outer shadows and perspective shadows are considered to have shadows, but charts with inner shadows are not. Although we do not support manipulation of shadows, this property can be used to turn off any pre-existing shadow by setting HasShadow to false.

If HasShadow is set to true when no shadow previously existed, the shadow that is created is the same as the one shadow supported in Excel 2003, which is an outer shadow with size 100%, a distance of 2.8 points, and a rotation of 45 degrees.

If HasShadow is set to false and then to true, the old shadow is preserved. But if HasShadow is set to false, and then the file is saved and reopened, then the old shadow will be lost.

  • No labels