API Reference
WordDocumentStatistics
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
Constructors
public WordDocumentStatistics(WordDocument document) #Initializes a new instance of the WordDocumentStatistics class.
Parameters
- document OfficeIMO.Word.WordDocument
- Parent document.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Int32 Pages { get; } #Gets the total number of pages in the document.
public Int32 Paragraphs { get; } #Gets the total number of paragraphs in the document.
public Int32 Words { get; } #Gets the total number of words in the document.
public Int32 Images { get; } #Gets the total number of images in the document.
public Int32 Tables { get; } #Gets the total number of tables in the document.
public Int32 Charts { get; } #Gets the total number of charts in the document.
public Int32 Shapes { get; } #Gets the total number of shapes in the document.
public Int32 Bookmarks { get; } #Gets the total number of bookmarks in the document.
public Int32 Lists { get; } #Gets the total number of lists in the document.
public Int32 Characters { get; } #Gets the total number of characters in the document (excluding spaces).
public Int32 CharactersWithSpaces { get; } #Gets the total number of characters in the document including spaces.