PageSetup.Orientation 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
纵向或横向打印模式。
public:
property Microsoft::Office::Interop::Excel::XlPageOrientation Orientation { Microsoft::Office::Interop::Excel::XlPageOrientation get(); void set(Microsoft::Office::Interop::Excel::XlPageOrientation value); };
public Microsoft.Office.Interop.Excel.XlPageOrientation Orientation { get; set; }
Public Property Orientation As XlPageOrientation
属性值
注解
对于 OLAP 数据源,当设置某一层中的一个字段的此属性值时,也会同时设置同一层中所有其他字段的方向。 维字段只能在数据透视表的行、列和页字段区域中进行定向。 度量字段则只能在数据区域中进行定向。 将某一层或数据字段设置为 xlHidden 时,会将该层或字段从数据透视表中移出。