Skip to main content

Text Recognition

After a successful import of a document, you can get the detected text of the entire document or single pages.

The Docutain Windows SDK needs to be initialized prior to using any functionality of it as described here.


In order to get the detected text of the entire document, call the following line of code:

...

//import file

...

string detectedText = Document.Text(-1);

In order to get the detected text of a specific page, specify the page number, e.g. the first page:

string detectedText = Document.Text(1);