Link Search Menu Expand Document

ITextExtractorSaveTextToFile Method (String, String, Encoding)

Saves text from specified page ranges to file in specified encoding.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
void SaveTextToFile(
	string ranges,
	string fileName,
	Encoding encoding
)

Parameters

ranges
Type: SystemString
Comma-separated list of page ranges in form "0-3,5,7-8,10-". Page indices are 0-based. Ending "-" means "to the last page". You can also use inverted page numbers adding '!' before the number. E.g. "!0" means "the last page", "1-!1" means "from the second to the penultimate page", "!1-" - last two pages".
fileName
Type: SystemString
Output file name.
encoding
Type: System.TextEncoding
The character encoding to use.
See Also

Reference