PdfListStyle
OfficeIMO.Pdf
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
- Property PdfCreateOptions.DefaultListStyle
- Method PdfListStyle.Clone
- Property PdfTheme.ListStyle
Accepted by parameters 5
- Method PdfContentBuilder.AddList
- Method PdfContentBuilder.AddNumberedList
- Method PdfDocument.AddList
- Method PdfDocument.AddNumberedList
- Method PdfPageBuilder.DefaultListStyle
Constructors
public PdfListStyle() #Methods
Inherited Methods
Properties
public PdfLineSpacing? LineSpacing { get; set; } #Explicit line spacing. When set, this overrides PdfListStyle.LineHeight.
public OfficeLength? 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 OfficeLength LeftIndent { get; set; } #Horizontal inset from the list frame to the marker, in points.
public OfficeLength? MarkerGap { get; set; } #Horizontal gap between the marker and text, in points. When null the writer uses one space advance.
public OfficeLength? MarkerWidth { get; set; } #Optional marker column width, in points. When null the writer estimates the width from the marker text.
public OfficeLength SpacingBefore { get; set; } #Vertical space before the list, in points.
public OfficeLength? SpacingAfter { get; set; } #Vertical space after the list, in points. When null the writer uses the item spacing.
public OfficeLength? ItemSpacing { get; set; } #Vertical space between list items, in points. When null the writer uses a small fraction of the line height.
public OfficeColor? Color { get; set; } #List marker and text color. A list block color overrides this value.
public OfficeColor? MarkerColor { get; set; } #Optional list marker color. When null the marker uses the list block color or list text color.
public OfficeAlignment? 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 OfficeLength? MarkerFontSize { get; set; } #Optional marker font size in points. When null the marker uses the list font size.
public bool MarkerBold { get; set; } #When true, list markers render with the bold variant of the current list font.
public bool MarkerItalic { get; set; } #When true, list markers render with the italic variant of the current list font.
public bool KeepTogether { get; set; } #When true, the list moves as a unit instead of splitting across pages when it fits in the page frame.
public bool KeepWithNext { get; set; } #When true, the list moves to the next page when it would otherwise be separated from the following flow block.