PdfLayoutNode Class
A node of the layout of a page (PdfPage.ExtractLayout): a heading, a paragraph, a list, a table, a figure, a header or a footer, and its parts.
public sealed class PdfLayoutNodeProperties
| Name | Description |
|---|---|
| Bounds | Gets the box of the node, in the default user space of the page. |
| Children | Gets the parts of the node: the items of a list, the cells of a table. |
| Column | Gets the zero-based column of a table cell, from the left; -1 for the other nodes. |
| Image | Gets the image of a figure, or null for the other nodes. |
| Kind | Gets what the node is. |
| Level | Gets the level of a heading, from 1 for the largest font; 0 for the other nodes. |
| Row | Gets the zero-based row of a table cell, from the top; -1 for the other nodes. |
| Text | Gets the text of the node, its lines separated by line feeds; empty for a figure. |
Bounds
PdfLayoutNode.csGets the box of the node, in the default user space of the page.
public PdfRectangle Bounds { get; }Property value
Children
PdfLayoutNode.csGets the parts of the node: the items of a list, the cells of a table.
public IReadOnlyList<PdfLayoutNode> Children { get; }Property value
Column
PdfLayoutNode.csImage
PdfLayoutNode.csGets the image of a figure, or null for the other nodes.
public PdfImageOccurrence? Image { get; init; }Property value
Kind
PdfLayoutNode.csLevel
PdfLayoutNode.csText
PdfLayoutNode.csMethods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |