Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfListStyle

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

Reusable list style for bullet and numbered list typography and rhythm.

Inheritance

  • Object
  • PdfListStyle

Usage

Explore 8 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 3

Accepted by parameters 5

Constructors

public PdfListStyle() #

Methods

public PdfListStyle Clone() #
Returns: PdfListStyle

Creates a copy of this list style.

Properties

public PdfLineSpacing? LineSpacing { get; set; } #

Explicit line spacing. When set, this overrides PdfListStyle.LineHeight.

public Double? FontSize { get; set; } #

List font size in points. When null the writer uses the current default font size.

public Double? LineHeight { get; set; } #

Line advance multiplier relative to the list font size. When null the writer uses the built-in list line height.

public Double LeftIndent { get; set; } #

Horizontal inset from the list frame to the marker, in points.

public Double? MarkerGap { get; set; } #

Horizontal gap between the marker and text, in points. When null the writer uses one space advance.

public Double? MarkerWidth { get; set; } #

Optional marker column width, in points. When null the writer estimates the width from the marker text.

public Double SpacingBefore { get; set; } #

Vertical space before the list, in points.

public Double? SpacingAfter { get; set; } #

Vertical space after the list, in points. When null the writer uses the item spacing.

public Double? ItemSpacing { get; set; } #

Vertical space between list items, in points. When null the writer uses a small fraction of the line height.

public PdfColor? Color { get; set; } #

List marker and text color. A list block color overrides this value.

public PdfColor? MarkerColor { get; set; } #

Optional list marker color. When null the marker uses the list block color or list text color.

public PdfAlign? MarkerAlign { get; set; } #

Optional horizontal alignment of the marker inside the marker column. When null, bullets use left alignment and numbered lists use right alignment.

public PdfStandardFont? MarkerFont { get; set; } #

Optional standard font family used for list markers. When null the writer uses the current default font.

public String? MarkerFontFamily { get; set; } #

Optional registered named font family used for list markers. When null, PdfListStyle.MarkerFont is used.

public Double? MarkerFontSize { get; set; } #

Optional marker font size in points. When null the marker uses the list font size.

public Boolean MarkerBold { get; set; } #

When true, list markers render with the bold variant of the current list font.

public Boolean MarkerItalic { get; set; } #

When true, list markers render with the italic variant of the current list font.

public Boolean KeepTogether { get; set; } #

When true, the list moves as a unit instead of splitting across pages when it fits in the page frame.

public Boolean KeepWithNext { get; set; } #

When true, the list moves to the next page when it would otherwise be separated from the following flow block.