This documentation is archived and is not being maintained.

Shadow Object

Visual Studio .NET 2003

Holds information about the appearance of a shadow on a chart element.

Syntax

Shadow

Example

The following example sets a shadow on a chart backdrop title.

Private Sub Command1_Click()
   ' Show shadow for title.
   With MSChart1.Title
      .Location.Visible = True
      .Text = "Chart Title"
      .Backdrop.Frame.Width = 1
      .Backdrop.Frame.FrameColor.Set 255, 0, 0
      .Backdrop.Frame.Style = VtFrameStyleSingleLine
      .Backdrop.Shadow.Style = VtShadowStyleDrop
      .Backdrop.Shadow.Offset.x = 10
      .Backdrop.Shadow.Offset.y = 10
   End With
End Sub

See Also

Properties, Methods, and Events | Brush Object | Coor Object

Show: