We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Page Count comes less than one page of the total pages

Thread ID:

Created:

Updated:

Platform:

Replies:

109500 Jun 17,2013 10:38 AM Jun 19,2013 08:35 AM ASP.NET MVC (Classic) 1
loading
Tags: DocIO
pankaj
Asked On June 17, 2013 10:38 AM

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




Siva Subramanian [Syncfusion]
Replied On June 19, 2013 08:35 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;