PdfExtractedTable Class

A table rebuilt from the rules and the text of a page (PdfTableExtractor).

public sealed class PdfExtractedTable

Properties

NameDescription
ColumnBoundariesGets the x coordinates of the vertical rules of the grid, from left to right, in default user space.
ColumnCountGets the number of columns.
RowBoundariesGets the y coordinates of the horizontal rules of the grid, from top to bottom, in default user space.
RowCountGets the number of rows.
RowsGets the rows, from top to bottom, each with the text of its cells from left to right.

ColumnBoundaries

PdfExtractedTable.cs

Gets the x coordinates of the vertical rules of the grid, from left to right, in default user space.

public IReadOnlyList<double> ColumnBoundaries { get; }

Property value

IReadOnlyList<double>

Gets the number of columns.

public int ColumnCount { get; }

Property value

int

Gets the y coordinates of the horizontal rules of the grid, from top to bottom, in default user space.

public IReadOnlyList<double> RowBoundaries { get; }

Property value

IReadOnlyList<double>

Gets the number of rows.

public int RowCount { get; }

Property value

int

Gets the rows, from top to bottom, each with the text of its cells from left to right.

public IReadOnlyList<IReadOnlyList<string>> Rows { get; }

Indexers

NameDescription
this[int, int]Gets the text of a cell: its lines separated by line feeds, the words of a line by spaces.

this[int, int]

PdfExtractedTable.cs

Gets the text of a cell: its lines separated by line feeds, the words of a line by spaces.

public string this[int row, int column] { get; }

Parameters

row int
The index of the row, from the top.
column int
The index of the column, from the left.

Property value

string

Exceptions

IndexOutOfRangeException
The row or the column is out of the table.