[]
Serializable, Comparable<PrintErrors>, ConstableUse this enum with IPageSetup.setPrintErrors(PrintErrors) to control whether printed output shows error values as they appear, suppresses them, or replaces them with an alternate display. It applies when printing a worksheet that contains formula errors such as division by zero or unavailable values.
worksheet.getRange("A1").setFormula("=1/0");
worksheet.getPageSetup().setPrintErrors(PrintErrors.Dash);
PrintErrors printErrors = worksheet.getPageSetup().getPrintErrors();
Enum.EnumDesc<E extends Enum<E>>static PrintErrorsforValue(int value) intgetValue()static PrintErrorsstatic PrintErrors[]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 zero-based integer value.PrintErrors member.