OfficeIMO

API Reference

Class

WordDocumentStatistics

Namespace OfficeIMO.Word
Assembly 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

Constructors

public WordDocumentStatistics(WordDocument document) #

Initializes a new instance of the WordDocumentStatistics class.

Parameters

document OfficeIMO.Word.WordDocument requiredposition: 0
Parent document.

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.