PdfTextItem class
A run of extracted text with the position it was drawn at.
Constructors
Properties
- baseFont → String?
-
/BaseFontof the font, when the resource could be resolved.final - bounds → PdfRect
-
Approximate rectangle occupied by the run, in user space.
final
- fontName → String?
-
Font resource name (
/F1), when there was aTf.final - fontSize → double
-
Size requested by
Tf, before the matrices.final - formDepth → int
-
Zero when the text is directly on the page; higher inside a form
XObject.
final
- fullyMapped → bool
-
falsewhen some code could not be mapped to text.final - hashCode → int
-
The hash code for this object.
no setterinherited
- origin → PdfPoint
-
Origin of the baseline, in user space.
final
- renderedFontSize → double
-
Effective size after
Tmand the CTM — the size visible on the page.final - renderMode → int
-
Current rendering mode (
Tr). Mode 3 is invisible text — common in OCR layers — and is still extracted.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
Text of the run.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited