Orientation Property

Microsoft Graph Visual Basic

Orientation Property

       

Returns or sets the text orientation. Can be an integer value from  – 90 degrees to 90 degrees or one of the following XlOrientation constants. Read/write XlTickLabelOrientation for all objects, except for the TickLabels object, which is read/write Variant.

XlTickLabelOrientation can be one of these XlTickLabelOrientation constants.
xlTickLabelOrientationAutomatic
xlTickLabelOrientationDownward
xlTickLabelOrientationHorizontal
xlTickLabelOrientationUpward
xlTickLabelOrientationVertical

expression.Orientation

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

Example

This example sets the orientation for the chart title.

myChart.ChartTitle.Orientation = xlHorizontal