We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Can't Read Section Break Count

I am trying to get the section break count from the attached document but it is not working correctly. I am using the following which returns 1 page. It should be 5 pages. Any ideas what I am doing wrong?

Dim ss As Integer = srcDoc.Sections.Count

br118_941_formatted2.zip (172.3 KB)

@jlserpe,

Thanks for your inquiry. We have tested the scenario and have not found the shared issue. Please note that in evaluation mode there are some limitations applied. E.g. Aspose.Words injects an evaluation watermark at the top of the document. The document’s contents are truncated after a certain number of paragraphs during import or export.

Please request for 30-days temporary license from following link.
Get a Temporary License

Please refer to following article about applying license.
Applying a License