We are using class WordDocument Open function with Parameters: // stream: // The Stream. // // formatType: // The FormatType. And BuiltinDocumentProperties.PageCount property to get the total page count of the document. but we are getting a problem that every time the page count returns is less than 1 of the total pages. Please suggest me any solution for this.
SSSiva Subramanian Syncfusion Team June 19, 2013 12:35 PM UTC
Thank you for your interest in Syncfusion
DocIO does not have support to retrieve the actual page count of a word
document. MS Word updates the page count of a word document dynamically on
loading / rendering the documents. The
BuiltinDocumentProperties.PageCount property of DocIO is a read only property,
which retrieves the page count (Static information) preserved in the summary
information of the document. To view the page count preserved in the document
summary information; right click on the document -> Properties ->Details,
refer page count under the content. For your reference we have attached the
screenshot of the page count preserved in the document summary information of a
sample test document with this response.