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.

Mon Aug 30, 2021 7:55 am

Hello guys,

I'm new to the forum.
We search for an api for .NET to search for strings in Files.
As we have seen, Spire.Doc give us several functions.

For productive use, we need to get the line and page of the found string.
Does anyone know if Spire.Doc can do this?
If Yes, how we can do this?

Thanks in advance!
Best regards!

Posts: 1
Joined: Mon Aug 30, 2021 7:50 am

Mon Aug 30, 2021 11:12 am


Thanks for your inquiry.
Our Spire.Doc follows the rules of Microsoft Word, which is flow document and does not contain any information about its layout into lines and pages. Sorry our Spire.Doc can’t achieve your requirement to get the line and page of found string. If you have other question, please feel free to write back.

E-iceblue support team
User avatar

Posts: 432
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Doc