pdfSetTextRawMode
Set text extraction mode to "raw".
void pdfSetTextRawMode(int raw)
If
raw
is non-zero, sets the text extraction mode to
"raw". Text is written in the order it was given in the PDF content
stream. The usefulness of this mode is heavily dependent on how the
PDF file was generated - output quality will vary from PDF file to PDF
file. Use of this mode is not recommended.
Only one mode, from pdfSetTextReadingOrderMode
,
pdfSetTextPhysicalLayoutMode
, pdfSetTextSimpleLayoutMode
,
pdfSetTextSimple2LayoutMode
, pdfSetTextTableLayoutMode
,
pdfSetTextLinePrinterMode
, or pdfSetTextRawMode
can
be selected.
This setting is global - it applies to all PDF handles.
C:
pdfSetTextRawMode(1);