Top Property

Microsoft Graph Visual Basic

Show All

Top Property

       

Top property as it applies to the Application object.

Returns or sets the position of the Application object. The distance from the top edge of the screen to the top edge of the main Microsoft Graph window. In Windows, if the application window is minimized, this property controls the position of the window icon (anywhere on the screen). Read/write Double.

expression.Top

expression   Required. An expression that returns one of the above objects.

 

Top property as it applies to the AxisTitle, ChartArea, ChartTitle, DataLabel, DataSheet, DisplayUnitLabel, Legend, and PlotArea objects.

The distance from the top edge of the object to the top of row 1 (on a datasheet) or the top of the chart area (on a chart). Read/write Double.

expression.Top

expression   Required. An expression that returns one of the above objects.

 

Top property as it applies to the Axis, LegendEntry, and LegendKey objects.

The distance from the top edge of the object to the top of row 1 (on a datasheet) or the top of the chart area (on a chart). Read-only Double.

expression.Top

expression   Required. An expression that returns one of the above objects.

 

Top property as it applies to the Chart object.

The distance from the top edge of the object to the top of row 1 (on a datasheet) or the top of the chart area (on a chart). Read/write Variant.

expression.Top

expression   Required. An expression that returns one of the above objects.

 

Example

This example sets the position of the top of the chart title.

myChart.ChartTitle.Top = 10