DocumentStatistics

Inheritance: java.lang.Object, com.groupdocs.metadata.core.MetadataPackage, com.groupdocs.metadata.core.CustomPackage

public class DocumentStatistics extends CustomPackage

Represents a set of document statistics.

Constructors

Constructor Description
DocumentStatistics() Initializes a new instance of the DocumentStatistics class.

Methods

Method Description
getCharacterCount() Gets an estimated number of characters in the document.
getWordCount() Gets an estimated number of words in the document.
getPageCount() Gets an estimated number of pages in the document.

DocumentStatistics()

public DocumentStatistics()

Initializes a new instance of the DocumentStatistics class.

getCharacterCount()

public final int getCharacterCount()

Gets an estimated number of characters in the document.

Returns: int - An estimated number of characters in the document.

getWordCount()

public final int getWordCount()

Gets an estimated number of words in the document.

Returns: int - An estimated number of words in the document.

getPageCount()

public final int getPageCount()

Gets an estimated number of pages in the document.

Returns: int - An estimated number of pages in the document.