pdfSetTextTableLayoutMode
Set text extraction mode to "table layout".
void pdfSetTextTableLayoutMode(int tableLayout)
If
tableLayout
is non-zero, sets the text extraction mode
to "table layout". This is similar to physical layout mode (see
pdfSetTextPhysicalLayoutMode
), but optimized for tabular data,
with the goal of keeping rows and columns aligned (at the expense of
inserting extra whitespace).
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:
pdfSetTextTableLayoutMode(1);