API Reference
PdfListStyle
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
- Method PdfListStyle.Clone
- Property PdfOptions.DefaultListStyle
- Property PdfTheme.ListStyle
Accepted by parameters 5
- Method PdfContentBuilder.Bullets
- Method PdfContentBuilder.Numbered
- Method PdfContentBuilder.RichBullets
- Method PdfContentBuilder.RichNumbered
- Method PdfPageBuilder.DefaultListStyle
Constructors
public PdfListStyle() #Methods
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
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.