pdftools_sdk.consumption_data
Classes
|
This class contains page-based license usage data. |
- class pdftools_sdk.consumption_data.ConsumptionData(handle)[source]
Bases:
_NativeObjectThis class contains page-based license usage data.
- property remaining_pages: int
Denotes the number of pages left to consume before entering the over-consumption state. When this value reaches zero, the SDK can still be used as long as pdftools_sdk.consumption_data.ConsumptionData.overconsumption is positive.
- Returns:
int
- property overconsumption: int
Denotes the number of pages left to consume in the over-consumption state. The over-consumption state begins after all pdftools_sdk.consumption_data.ConsumptionData.remaining_pages are consumed. When this value reaches zero, a license error is thrown for every attempt to use the SDK.
- Returns:
int