[]
Serializable, Comparable<PrintQuality>, Constable将此枚举与 IPageSetup.setPrintQuality(PrintQuality) 一起使用,可以控制打印工作表时使用的输出分辨率。默认打印质量为 Dpi600。
worksheet.getRange("A1:B2").setValue(new Object[][] {
{"Name", "Value"},
{"Test", 100}
});
worksheet.getPageSetup().setPrintQuality(PrintQuality.Dpi300);
PrintQuality printQuality = worksheet.getPageSetup().getPrintQuality();
Enum.EnumDesc<E extends Enum<E>>static PrintQualityforValue(int value) intgetValue()static PrintQualitystatic PrintQuality[]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.PrintQuality member.