Set text extraction mode to "raw".
[read/write property] rawMode([out, retval] VARIANT_BOOL *raw) rawMode([in] VARIANT_BOOL raw)
Setting this property to true 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.
pdf.rawMode = True