ScrollView Property

Microsoft Office Web Components Visual Basic

ScrollView Property

You use the ScrollView property to return the ChScrollView object for a chart. Read-only ChScrollView.

expression .ScrollView

expression    Required. An expression that returns a ChChart object.

Remarks

The ChartSpace object supports multiple charts and each is can be scrolled independently. There is one ChScrollView object per chart. You use the properties and methods of the ChScrollView object to retrieve information about and control the scroll view of a chart.

Example

The following example uses the ScrollView property to work with the SetPosition method of the ChScrollView object:

    Chartspace1.Charts(1).ScrollView.SetPosition (HorizontalPosition.Value + 200, VerticalPosition.Value + 200)