[]
Serializable, Comparable<ViewType>, Constable将此枚举与 IWorksheetView.setViewType(ViewType) 一起使用,可以在普通编辑视图、分页预览和页面布局视图之间切换工作表。
IWorksheetView sheetView = worksheet.getSheetView();
sheetView.setViewType(ViewType.PageLayoutView);
ViewType viewType = sheetView.getViewType();
Enum.EnumDesc<E extends Enum<E>>static ViewTypeforValue(int value) intgetValue()static ViewTypestatic ViewType[]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 nullvalue - The integer value of the view type.