Class PdfExtractionTextRecord
Immutable extracted text record.
Inherited Members
Namespace: DRIT.Pdf.Extraction
Assembly: DRIT.Pdf.dll
Syntax
public sealed class PdfExtractionTextRecord : PdfExtractionContentRecord
Properties
CharacterCount
Number of UTF-16 code units in Text.
Declaration
public int CharacterCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Color
Approximate RGB text color when available.
Declaration
public PdfExtractionColor? Color { get; }
Property Value
| Type | Description |
|---|---|
| PdfExtractionColor |
FontFamily
Resolved font family name.
Declaration
public string FontFamily { get; }
Property Value
| Type | Description |
|---|---|
| string |
FontSize
Font size in points.
Declaration
public double FontSize { get; }
Property Value
| Type | Description |
|---|---|
| double |
FontStyle
Font style.
Declaration
public PdfFontStyle FontStyle { get; }
Property Value
| Type | Description |
|---|---|
| PdfFontStyle |
FontWeight
Font weight.
Declaration
public PdfFontWeight FontWeight { get; }
Property Value
| Type | Description |
|---|---|
| PdfFontWeight |
Glyphs
Glyph records belonging to this text-showing element.
Declaration
public IReadOnlyList<PdfExtractionGlyphRecord> Glyphs { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<PdfExtractionGlyphRecord> |
Text
Unicode text returned by the content interpreter.
Declaration
public string Text { get; }
Property Value
| Type | Description |
|---|---|
| string |