API Reference
PdfListStyle
Reusable list style for bullet and numbered list typography and rhythm.
Inheritance
- Object
- PdfListStyle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PdfListStyle.Clone
- Property PdfOptions.DefaultListStyle
- Property PdfTheme.ListStyle
Accepted by parameters
- Method PdfDocument.Bullets
- Method PdfDocument.DefaultListStyle
- Method PdfDocument.Numbered
- Method PdfDocument.RichBullets
- Method PdfDocument.RichNumbered
- Method PdfElementCompose.Bullets
- Method PdfElementCompose.Numbered
- Method PdfElementCompose.RichBullets
- Method PdfElementCompose.RichNumbered
- Method PdfItemCompose.Bullets
- Method PdfItemCompose.Numbered
- Method PdfItemCompose.RichBullets
- Method PdfItemCompose.RichNumbered
- Method PdfPageCompose.DefaultListStyle
- Method PdfRowColumnCompose.Bullets
- Method PdfRowColumnCompose.Numbered
- Method PdfRowColumnCompose.RichBullets
- Method PdfRowColumnCompose.RichNumbered
Constructors
public PdfListStyle() #Methods
Inherited Methods
Properties
public Nullable<Double> FontSize { get; set; } #List font size in points. When null the writer uses the current default font size.
public Nullable<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 Nullable<Double> MarkerGap { get; set; } #Horizontal gap between the marker and text, in points. When null the writer uses one space advance.
public Nullable<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 Nullable<Double> SpacingAfter { get; set; } #Vertical space after the list, in points. When null the writer uses the item spacing.
public Nullable<Double> ItemSpacing { get; set; } #Vertical space between list items, in points. When null the writer uses a small fraction of the line height.
public Nullable<PdfColor> Color { get; set; } #List marker and text color. A list block color overrides this value.
public Nullable<PdfColor> MarkerColor { get; set; } #Optional list marker color. When null the marker uses the list block color or list text color.
public Nullable<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 Nullable<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, MarkerFont is used.
public Nullable<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.