public class NumberOfPagesStatisticsEvent
extends com.itextpdf.commons.actions.AbstractStatisticsEvent
| Constructor and Description |
|---|
NumberOfPagesStatisticsEvent(int numberOfPages,
com.itextpdf.commons.actions.data.ProductData productData)
Creates an instance of this class based on the
ProductData and the number of pages. |
| Modifier and Type | Method and Description |
|---|---|
com.itextpdf.commons.actions.AbstractStatisticsAggregator |
createStatisticsAggregatorFromName(String statisticsName) |
int |
getNumberOfPages()
Gets number of pages in the PDF document during the processing of which the event was sent.
|
List<String> |
getStatisticsNames() |
public NumberOfPagesStatisticsEvent(int numberOfPages,
com.itextpdf.commons.actions.data.ProductData productData)
ProductData and the number of pages.numberOfPages - the number of pages in the PDF document during the processing of which the event was sentproductData - is a description of the product which has generated an eventpublic com.itextpdf.commons.actions.AbstractStatisticsAggregator createStatisticsAggregatorFromName(String statisticsName)
createStatisticsAggregatorFromName in class com.itextpdf.commons.actions.AbstractStatisticsEventpublic List<String> getStatisticsNames()
getStatisticsNames in class com.itextpdf.commons.actions.AbstractStatisticsEventpublic int getNumberOfPages()
Copyright © 1998–2023 iText Group NV. All rights reserved.