TextRecognizerSaveText Method (String, Int32, Int32, Encoding)ByteScout Text Recognition SDK
Saves text from specified page range to file.

Namespace:  ByteScout.TextRecognition
Assembly:  ByteScout.TextRecognition (in ByteScout.TextRecognition.dll) Version: 2.6.1.323-master
Syntax

public void SaveText(
	string fileName,
	int startPage = 0,
	int endPage = -1,
	Encoding encoding = null
)

Parameters

fileName
Type: SystemString
Output file name.
startPage (Optional)
Type: SystemInt32
Start page index.
endPage (Optional)
Type: SystemInt32
End page index. -1 means all pages to the end.
encoding (Optional)
Type: System.TextEncoding
The character encoding to use. UTF-8 encoding is used by default.
Remarks

Text from different pages is separated with PageSeparator symbol.
See Also

Reference