API Reference
PdfLogicalTextBlock
Line-level text block extracted from a PDF page.
Inheritance
- Object
- PdfLogicalTextBlock
Usage
Explore 12 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Property PdfDocumentReadResult.TextBlocks
- Property PdfLogicalHeading.Line
- Property PdfLogicalListItem.Line
- Property PdfLogicalListItem.Lines
- Property PdfLogicalPage.Captions
- Property PdfLogicalPage.Footers
- Property PdfLogicalPage.Footnotes
- Property PdfLogicalPage.Headers
- Property PdfLogicalPage.TextBlocks
- Property PdfLogicalParagraph.Lines
- Property PdfLogicalSection.TextBlocks
Accepted by parameters 1
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public Double BaselineY { get; } #Baseline Y coordinate in PDF points from the bottom of the page.
public Double FontSize { get; } #Largest font size represented by this line-level block.
public IReadOnlyList<PdfTextSpan> Spans { get; } #Positioned text spans merged into this block, preserving font, color, and geometry details.
public IReadOnlyList<PdfLogicalTextRun> Runs { get; } #Line text segmented into reusable semantic runs aligned with the source span styles. Whitespace synthesized by layout analysis is retained in the adjacent run.
public PdfLogicalContentSourceKind SourceKind { get; } #Whether the block came from native PDF text or an external OCR provider.
public Double Confidence { get; } #Normalized extraction or provider confidence from 0 through 1.
public PdfLogicalVisualBounds? VisualBounds { get; } #Direct top-left visual geometry when the source already supplied normalized page coordinates. Native text normally derives this geometry from PDF user-space spans on demand.
public Boolean IsTableContent { get; } #True when canonical table reconstruction owns these source spans. Use the table projection to avoid repeating its cells as ordinary text.
public Int32 SpanCount { get; } #Number of text spans merged into this block.