当我试图通过 ILicense 类的 getVolumeRemaining 方法获取可用页数时,我总是得到相同的值“2147483647”(看起来它是整数最大值)。
但预计剩余的页数/字符数.....
public void print() {
try {
var remainingPages = engine.getCurrentLicense().getVolumeRemaining(LicenseCounterTypeEnum.LCT_Pages);
System.out.println("Remaining pages " + remainingPages);
} catch (Exception e) {
e.printStackTrace();
}
}