WordDocumentStatistics
OfficeIMO.Word
Provides basic statistics for a WordDocument such as page, paragraph, word and image counts. Additional statistics like table or chart counts are also available.
Inheritance
- object
- WordDocumentStatistics
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property WordDocument.Statistics
Constructors
public WordDocumentStatistics(WordDocument document) #Initializes a new instance of the WordDocumentStatistics class.
Parameters
- document OfficeIMO.Word.WordDocument
- Parent document.
Inherited Methods
Properties
public int Pages { get; } #Gets the total number of pages in the document.
public int Paragraphs { get; } #Gets the total number of paragraphs in the document.
public int Words { get; } #Gets the total number of words in the document.
public int Images { get; } #Gets the total number of images in the document.
public int Tables { get; } #Gets the total number of tables in the document.
public int Charts { get; } #Gets the total number of charts in the document.
public int Shapes { get; } #Gets the total number of shapes in the document.
public int Bookmarks { get; } #Gets the total number of bookmarks in the document.
public int Lists { get; } #Gets the total number of lists in the document.
public int Characters { get; } #Gets the total number of characters in the document (excluding spaces).
public int CharactersWithSpaces { get; } #Gets the total number of characters in the document including spaces.