 | OcrApiProcessPages Method |
Turns images into symbolic text.
Namespace:
Patagames.Ocr
Assembly:
Patagames.Ocr (in Patagames.Ocr.dll) Version: 4.2.411
Syntaxpublic void ProcessPages(
string filename,
OcrResultRenderer renderer = null,
string retryConfig = null,
int timeout = 0
)
Public Sub ProcessPages (
filename As String,
Optional renderer As OcrResultRenderer = Nothing,
Optional retryConfig As String = Nothing,
Optional timeout As Integer = 0
)
public:
void ProcessPages(
String^ filename,
OcrResultRenderer^ renderer = nullptr,
String^ retryConfig = nullptr,
int timeout = 0
)
member ProcessPages :
filename : string *
?renderer : OcrResultRenderer *
?retryConfig : string *
?timeout : int
(* Defaults:
let _renderer = defaultArg renderer null
let _retryConfig = defaultArg retryConfig null
let _timeout = defaultArg timeout 0
*)
-> unit
public void ProcessPages(
String filename,
OcrResultRenderer renderer = null,
String retryConfig = null,
int timeout = 0
)
function ProcessPages(filename, renderer, retryConfig, timeout);
Parameters
- filename
- Type: SystemString
filename can point to a single image, a multi-page TIFF, or a text file which contain plain text list of image filenames. - renderer (Optional)
- Type: Patagames.OcrOcrResultRenderer
renderer is responible for creating the output. For example, use the OcrTextRenderer if you want plaintext output, or the OcrPdfRenderer to produce searchable PDF. - retryConfig (Optional)
- Type: SystemString
retryConfig is useful for debugging. If not NULL, you can fall back to an alternate configuration if a page fails for some reason. - timeout (Optional)
- Type: SystemInt32
timeout(milliseconds) terminates processing if any single page takes too long. Set to 0 for unlimited time.
See Also