Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLogicalListItem

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Detected bullet or numbered list item.

Inheritance

  • object
  • PdfLogicalListItem

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.

Accepted by parameters 1

Properties

public int PageNumber { get; } #

One-based source page number.

public int Level { get; internal set; } #

Best-effort nesting level, where 1 is the outermost list level.

public string Marker { get; } #

List marker such as "1", "1.2", "-", "•", or "(a)".

public PdfLogicalListNumberFormat NumberFormat { get; } #

Numbering style shown by PdfLogicalListItem.Marker; PdfLogicalListNumberFormat.Bullet for symbols and unmarked items.

public bool IsOrdered { get; } #

True when the marker numbers the item (digits, letters or Roman numerals).

public int? Ordinal { get; } #

Position the marker gives the item in its list ("3." and "c)" are 3); null for bullets.

public string Text { get; } #

List item text without the marker.

public PdfLogicalTextBlock Line { get; } #

First line-level text block that produced the list item.

public IReadOnlyList<PdfLogicalTextBlock> Lines { get; } #

Line-level text blocks that produced the list item, in reading order.

public IReadOnlyList<PdfLogicalTextRun> Runs { get; } #

List item text segmented into semantic runs, excluding the detected marker.

public double Confidence { get; } #

Normalized list-classification confidence.

public IReadOnlyList<PdfInferenceEvidence> Evidence { get; } #

Evidence supporting the list classification.

public bool IsContentsEntry { get; internal set; } #

True when the item is an entry of a table of contents, recognised from tagged TOC/TOCI structure or from contents lines (title, dot leader or gap, page number). PdfLogicalListItem.Text then holds the entry title.

public string? TargetPageLabel { get; internal set; } #

Printed page number of a contents entry, such as "12" or "iv", when the entry shows one.