This documentation is archived and is not being maintained.

Rect Object

Visual Studio .NET 2003

Defines a coordinate location.

Syntax

Rect

Example

The example increases the size of the chart plot using the LocationRect property and the x and y properties of the Rect object.

Private Sub Command1_Click()
   ' Increase the size of the chart plot.
   MSChart1.Plot.AutoLayout = False
   With MSChart1.Plot.LocationRect
      .Min.x = .Min.x * 1.2
      .Min.y = .Min.y * 1.2
      .Max.x = .Max.x * 1.2
      .Max.y = .Max.y * 1.2
   End With
End Sub

See Also

Properties, Methods, and Events | Coor Object

Show: