pdftools_toolbox.pdf.content.writing_mode

Classes

WritingMode(value)

Used to distinguish between horizontally and vertically written text.

class pdftools_toolbox.pdf.content.writing_mode.WritingMode(value)[source]

Bases: IntEnum

Used to distinguish between horizontally and vertically written text.

Variables:
  • HORIZONTAL (int) – The writing direction is in positive x-direction.

  • VERTICAL (int) – The writing direction is in negative y-direction.

HORIZONTAL = 0
VERTICAL = 1