Community

Get volume of remaining pages from license object

When I'm trying to get available pages count via ILicense.getVolumeRemainig method from Java code, I always get the same value "2147483647" (Looks like it is integer max value), but it's expected remaining number of pages/characters.....

public void print() {
    try {
        var remainingPages = engine.getCurrentLicense().getVolumeRemaining(LicenseCounterTypeEnum.LCT_Pages);
        System.out.println("Remaining pages " + remainingPages);
    } catch (Exception e) {
        e.printStackTrace();
    }
}

Please tell me what the problem is.

Thanks!

0

Comments

4 comments

  • Avatar
    Alexandre Arruda Jacobino

    THIS ISSUE WAS SOLVED ?

    -1
  • Avatar
    Hrachya

    Not yet.

    0
  • Avatar
    Scott Chau

    Hrachya,

    I created a support ticket for you.  A support rep should be contacting you to help with your issue.

    0
  • Avatar
    Hrachya

    Scott Chau, thanks.

    0

Please sign in to leave a comment.