Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Tue Oct 11, 2011 5:41 pm

Hello, and thanks in advance:

When I use "document.FindAllString", I get a TextSelection[], an for each TextSelection in the array.

How could I Know the page number where is this TextSelection?

Thank You

Posts: 1
Joined: Wed Oct 05, 2011 10:10 am

Wed Oct 12, 2011 8:19 am

Dear Cidiv,

Sorry for any inconveniences caused by us and thank you for your patience with our reply.

A document file usually spilt into many different sections. In view layer a section can be rendered several paragraphs, as well as, page number in order. This function can not be used in data layer. So your requirement can’t be met.
Have a nice day.

Thanks and Regards
Technical Support/Developer,
e-iceblue Support Team
User avatar

Posts: 152
Joined: Tue Sep 13, 2011 5:37 am

Return to Spire.Doc