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 (172.3 KB)


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