Page Count comes less than one page of the total pages

Hi,

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.

Thanks
Pankaj




1 Reply

SS Siva Subramanian Syncfusion Team June 19, 2013 12:35 PM UTC

Hi Pankaj,

 

Thank you for your interest in Syncfusion Products.

 

Essential 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.

Please let us know if you have any questions.

 

Regards,

Sivasubramanian



Screenshot_1e188fa.zip

Loader.
Up arrow icon