Range.Orientation - Propriété

Returns the text orientation.

Espace de noms :  Microsoft.Office.Interop.Excel
Assembly :  Microsoft.Office.Interop.Excel (dans Microsoft.Office.Interop.Excel.dll)

Object Orientation { get; set; }

Valeur de propriété

Type : System.Object

This returned orientation value can be an integer value from 90 to 90 degrees.

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.