Link Search Menu Expand Document

TextExtractorSaveTextToFile 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.0.1.4281-master
Syntax
public 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.

Implements

ITextExtractorSaveTextToFile(String, String, Encoding)
See Also

Reference


Copyright © 2016 - 2021 ByteScout