API Reference
Class
PdfReadPageExtensions
Convenience helpers for callers to get column-aware text from a PdfReadPage.
Inheritance
- Object
- PdfReadPageExtensions
Methods
public static StructuredPage ExtractStructured(PdfReadPage page, PdfTextLayoutOptions options = null) #Returns:
StructuredPageExtracts a simple structured model (lines, TOC entries, list items) for this page.
Parameters
- page OfficeIMO.Pdf.PdfReadPage
- Source page.
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- Optional layout options.
public static String ExtractTextWithColumns(PdfReadPage page, PdfTextLayoutOptions options = null) #Returns:
StringExtracts text from a page with simple two-column detection when present.
Parameters
- page OfficeIMO.Pdf.PdfReadPage
- Source page.
- options OfficeIMO.Pdf.PdfTextLayoutOptions = null
- Optional layout options controlling column detection, margins and trimming.
Returns
Plain text for this page in inferred reading order.