getText static method

Future<String> getText({
  1. int pageNumber = -1,
})

Detects the text of the currently loaded document and returns it. Use pageNumber if you want the text of just one specific page.

Implementation

static Future<String> getText({int pageNumber = -1}) {
  return DocutainSdkPlatform.instance.getText(pageNumber);
}