Description
Sets the text extraction options.Text extraction creates a separate text file containing all of the textual elements of your printed documents. The files are stored in the same location as the output files, with a .txt extension.
The text extraction feature was not designed to be Optical Character Recognition (OCR) software. Only straight text will be extracted and formatting of the text file may not be exact. To run OCR, see the OCR options tab in the profile.
To set a single text extraction options use the SetProperty call with the appropriate arguments.
Syntax
expression.SetTextExtractionOptions(TextLayout, TextEncoding,
TextEOL, EmitPageBreaks)
where expression is an IPNSession object.
Parameters
pnTextLayout TextLayout
A pnTextLayout constant to determine how the text in your text extraction file is formatted.
pnTextEncoding TextEncoding
A pnTextEncoding constant to determine the encoding for your text file.
pnTextEOL TextEOL
A pnTextEOL constant to determine the end of line (EOL) encoding for your text file. This differs between Windows, Unix and Macintosh systems.
Boolean EmitPageBreaks
Pass True to emit page breaks (or form feeds) for every page in your document.
Remarks
See the Remarks below for a list of arguments.
Use the following to set this option using SetProperty:
Method Parameter |
SetProperty Parameters |
||||||
---|---|---|---|---|---|---|---|
TextFilePath |
|
||||||
TextLayout |
|
||||||
TextEncoding |
|
||||||
TextEOL |
|
||||||
EmitPageBreaks |
|
Supported Printers: TIFF Image Printer, PDF Image Printer, Raster Image Printer
See Also: SetTextExtractionOn SetProperty pnTextLayout pnTextEncoding pnTextEOL