Link Search Menu Expand Document

TextExtractorGetTextAsVariant Method (String)

Returns document text as array of bytes. This is COM/ActiveX-compatible version of the method SaveTextToStream(String, Stream) for in-memory processing of PDF documents or images.

Namespace:Bytescout.PDFExtractor
Assembly: Bytescout.PDFExtractor (in Bytescout.PDFExtractor.dll) Version: 13.4.0.4760-master
Syntax
public Object GetTextAsVariant(
	string ranges
)

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".

Return Value

Type: Object

[Missing <returns> documentation for "M:Bytescout.PDFExtractor.TextExtractor.GetTextAsVariant(System.String)"]

Implements

ITextExtractorGetTextAsVariant(String)
Exceptions
ExceptionCondition
PDFExtractorException
See Also

Reference