PdfTextElement Class
A line of text of a page (PdfPage.ExtractTextLayout): its text and its bounding box.
public sealed class PdfTextElement : IEquatable<PdfTextElement>- Implements
Constructors
| Name | Description |
|---|---|
| PdfTextElement(string, PdfRectangle) | A line of text of a page (PdfPage.ExtractTextLayout): its text and its bounding box. |
PdfTextElement(string, PdfRectangle)
PdfTextElement.csA line of text of a page (PdfPage.ExtractTextLayout): its text and its bounding box.
public PdfTextElement(string Text, PdfRectangle Bounds)Parameters
Textstring- The text of the line.
BoundsPdfRectangle- The bounding box of the glyphs of the line, in default user space.
Properties
| Name | Description |
|---|---|
| Bounds | The bounding box of the glyphs of the line, in default user space. |
| Text | The text of the line. |
Bounds
PdfTextElement.csThe bounding box of the glyphs of the line, in default user space.
public PdfRectangle Bounds { get; init; }Property value
Methods
| Name | Description |
|---|---|
| Deconstruct(string, PdfRectangle) | |
| Equals(PdfTextElement?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() | Returns a string that represents the current object. |
Deconstruct(string, PdfRectangle)
public void Deconstruct(out string Text, out PdfRectangle Bounds)Parameters
TextstringBoundsPdfRectangle
No documentation is available.
Equals overloads
Equals(PdfTextElement?)
public bool Equals(PdfTextElement? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
PdfTextElement.csOperators
| Name | Description |
|---|---|
| operator ==(PdfTextElement?, PdfTextElement?) | |
| operator !=(PdfTextElement?, PdfTextElement?) |
operator ==(PdfTextElement?, PdfTextElement?)
public static bool operator ==(PdfTextElement? left, PdfTextElement? right)No documentation is available.
operator !=(PdfTextElement?, PdfTextElement?)
public static bool operator !=(PdfTextElement? left, PdfTextElement? right)No documentation is available.