pdfSetTextReadingOrderMode
Set text extraction mode to "reading order".
void pdfSetTextReadingOrderMode(int readingOrder)
If
readingOrder
is non-zero, sets the text extraction
mode to "reading order". Each page will be processed to "undo"
physical layout (columns, hyphenation, etc.), generating text in
reading order.
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:
pdfSetTextReadingOrderMode(1);