iText 8.0.2 API
iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsEvent Class Reference

Class which represents event related to size of the PDF document. More...

Inheritance diagram for iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsEvent:
iText.Commons.Actions.AbstractStatisticsEvent iText.Commons.Actions.AbstractProductITextEvent iText.Commons.Actions.AbstractITextEvent iText.Commons.Actions.IEvent

Public Member Functions

  SizeOfPdfStatisticsEvent (long amountOfBytes, ProductData productData)
  Creates an instance of this class based on the iText.Commons.Actions.Data.ProductData and the size of the document. More...
 
override AbstractStatisticsAggregator  CreateStatisticsAggregatorFromName (String statisticsName)
  Creates statistics aggregator based on provided statistics name. More...
 
override IList< String >  GetStatisticsNames ()
  Gets all statistics names related to this event. More...
 
virtual long  GetAmountOfBytes ()
  Gets number of bytes in the PDF document during the processing of which the event was sent. More...
 
- Public Member Functions inherited from iText.Commons.Actions.AbstractProductITextEvent
virtual ProductData  GetProductData ()
  Gets a product data which generated the event. More...
 
virtual String  GetProductName ()
  Gets a name of product which generated the event. More...
 

Detailed Description

Class which represents event related to size of the PDF document.

Class which represents event related to size of the PDF document. Only for internal usage.

Constructor & Destructor Documentation

◆ SizeOfPdfStatisticsEvent()

iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsEvent.SizeOfPdfStatisticsEvent ( long  amountOfBytes,
ProductData  productData 
)
inline

Creates an instance of this class based on the iText.Commons.Actions.Data.ProductData and the size of the document.

Parameters
amountOfBytes the number of bytes in the PDF document during the processing of which the event was sent
productData is a description of the product which has generated an event

Member Function Documentation

◆ CreateStatisticsAggregatorFromName()

override AbstractStatisticsAggregator iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsEvent.CreateStatisticsAggregatorFromName ( String  statisticsName )
inlinevirtual

Creates statistics aggregator based on provided statistics name.

Reimplemented from iText.Commons.Actions.AbstractStatisticsEvent.

◆ GetAmountOfBytes()

virtual long iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsEvent.GetAmountOfBytes ( )
inlinevirtual

Gets number of bytes in the PDF document during the processing of which the event was sent.

Returns
the number of pages

◆ GetStatisticsNames()

override IList iText.Kernel.Pdf.Statistics.SizeOfPdfStatisticsEvent.GetStatisticsNames ( )
inlinevirtual

Gets all statistics names related to this event.

Implements iText.Commons.Actions.AbstractStatisticsEvent.