[]
Serializable, Comparable<PageOrientation>, Constable将此枚举与页面设置 API 一起使用,以控制工作表在打印或导出为分页格式时的方向。
IPageSetup pageSetup = worksheet.getPageSetup();
pageSetup.setOrientation(PageOrientation.Landscape);
PageOrientation orientation = pageSetup.getOrientation();
Enum.EnumDesc<E extends Enum<E>>static PageOrientationforValue(int value) intgetValue()static PageOrientationstatic PageOrientation[]values()name - the name of the enum constant to be returned.IllegalArgumentException - if this enum class has no constant with the specified nameNullPointerException - if the argument is null