Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns whether the chart region will have a shadow.

Signature
C#
C#
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre>
 public boolean HasShadow{ get; set; }
</pre></td></tr></tbody></table>
Signature
vb.net
vb.net
<p>Public Property HasShadow() As Boolean</p>
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.