API Reference
PdfTextMatch
One located text occurrence in PDF user space.
Inheritance
- Object
- PdfTextMatch
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PdfDocumentTextEditor.Find
Accepted by parameters
- Method PdfDocumentTextEditor.Move
- Method PdfDocumentTextEditor.Replace
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Int32 PageNumber { get; } #One-based page number.
public String Text { get; } #Matched text as searched: whitespace runs and line breaks read as single spaces, and a word hyphenated at a line end reads either joined or with its hyphen.
public Double X { get; } #Left coordinate in PDF points. X, Y, Width, and Height bound the whole occurrence, including every line of a wrapped occurrence.
public Double Y { get; } #Bottom coordinate in PDF points.
public Double Width { get; } #Width in PDF points.
public Double Height { get; } #Height in PDF points.
public Double FontSize { get; } #Source font size.
public PdfStandardFont SuggestedFont { get; } #Closest standard PDF font for replacement text.
public String SourceFont { get; } #Original PDF base-font name when available.
public PdfColor Color { get; } #Source text color.
public Double RotationDegrees { get; } #Source baseline rotation.
public Boolean IsTextRenderingMode3 { get; } #True when the occurrence includes OCR-style text painted with rendering mode 3.
public PdfSelectionQuad VisualBounds { get; } #Axis-aligned occurrence bounds in rendered top-left page coordinates, including the effective page box, page rotation, and user-unit scale.
public IReadOnlyList<PdfSelectionQuad> VisualLineBounds { get; } #Per-line occurrence bounds in rendered top-left page coordinates, in reading order. An occurrence that wraps across lines has one entry per line segment; a single-line occurrence has one entry equal to VisualBounds.