編輯

共用方式為


AxisTitle.Orientation Property

Definition

The text orientation. Can be an integer value from –90 to 90 degrees.

public:
 property System::Object ^ Orientation { System::Object ^ get(); void set(System::Object ^ value); };
public object Orientation { get; set; }
Public Property Orientation As Object

Property Value

Remarks

The Orientation property can be one of the following constants:

xlDownward

xlHorizontal

xlUpward

xlVertical

For OLAP data sources, setting this property for one field in a hierarchy sets the orientation for the other fields in the same hierarchy. Dimension fields can only be oriented in the row, column, and page field areas of the PivotTable report. Measure fields can only be oriented in the data area. Setting a hierarchy or data field to xlHidden removes the hierarchy or field from the PivotTable report.

Applies to