Skip to main content

Interface: ExtractTextOptions

Options for ParsedPdfDocument.extractText.

Properties

PropertyModifierTypeDescription
readingOrder?readonly"structure" | "stream"Reading order strategy: - "stream" (default): runs in content-stream order - "structure": runs reordered to match StructTree traversal via MCID; runs without MCID are appended in stream order at the end