Table of Contents

Class ListItem

Namespace
MiPdf.Layout
Assembly
MiPdf.dll

An item of a ListElement; contains paragraphs, nested lists, tables, images.

public sealed class ListItem
Inheritance
ListItem
Inherited Members

Properties

Content

The block elements of the item in the order they were added.

public IReadOnlyList<LayoutElement> Content { get; }

Property Value

IReadOnlyList<LayoutElement>

Label

Overrides the generated label (e.g. "★" or "§ 3").

public string? Label { get; set; }

Property Value

string

Methods

Add(LayoutElement)

Adds a block element to the item; returns the item.

public ListItem Add(LayoutElement element)

Parameters

element LayoutElement

Returns

ListItem