API Reference
Class
PdfListItem
List item text with optional rich inline runs.
Inheritance
- Object
- PdfListItem
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Method PdfListItem.Plain
- Method PdfListItem.Rich
Accepted by parameters 2
- Method PdfContentBuilder.RichBullets
- Method PdfContentBuilder.RichNumbered
Constructors
PdfListItem 2 overloads
public PdfListItem(String text, String? bookmarkName = null, String? marker = null) #Create a plain list item.
Parameters
- text System.String
- bookmarkName System.String? = null
- marker System.String? = null
public PdfListItem(IEnumerable<PdfTextRun> runs, String? bookmarkName = null, String? marker = null) #Create a rich list item from inline text runs.
Parameters
- runs System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun>
- bookmarkName System.String? = null
- marker System.String? = null
Methods
public static PdfListItem Plain(String text, String? bookmarkName = null, String? marker = null) #Returns:
PdfListItemCreate a normal unstyled item.
Parameters
- text System.String
- bookmarkName System.String? = null
- marker System.String? = null
public static PdfListItem Rich(IEnumerable<PdfTextRun> runs, String? bookmarkName = null, String? marker = null) #Returns:
PdfListItemCreate a rich item from inline text runs.
Parameters
- runs System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun>
- bookmarkName System.String? = null
- marker System.String? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Text { get; } #Plain text value for readback, wrapping fallback, and simple item APIs.
public IReadOnlyList<PdfTextRun> Runs { get; } #Rich inline runs rendered as the list item body.
public String? BookmarkName { get; } #Optional named destination anchored to this list item.
public String? Marker { get; } #Optional explicit marker rendered instead of the list block default marker.