Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfListStyleFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfListStyle, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PdfListStyleFluent

Methods

public static PdfListStyle Color(PdfListStyle pdfListStyle, OfficeColor? value) #

Sets PdfListStyle.Color: List marker and text color. A list block color overrides this value.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { Color = value };    pdfListStyle.Color(value);
public static PdfListStyle FontSize(PdfListStyle pdfListStyle, OfficeLength? value) #

Sets PdfListStyle.FontSize: List font size in points. When null the writer uses the current default font size.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { FontSize = value };    pdfListStyle.FontSize(value);
public static PdfListStyle ItemSpacing(PdfListStyle pdfListStyle, OfficeLength? value) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { ItemSpacing = value };    pdfListStyle.ItemSpacing(value);
public static PdfListStyle JustificationMode(PdfListStyle pdfListStyle, PdfJustificationMode value) #

Sets PdfListStyle.JustificationMode: Expandable boundaries when the list uses OfficeAlignment.Justify. The default expands word separators.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.Pdf.PdfJustificationMode required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { JustificationMode = value };    pdfListStyle.JustificationMode(value);
public static PdfListStyle JustifyExplicitLineBreaks(PdfListStyle pdfListStyle, bool value = true) #

Sets PdfListStyle.JustifyExplicitLineBreaks: When true, a justified list item also expands lines ending with an explicit line break. The default retains natural spacing on those lines.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { JustifyExplicitLineBreaks = value };    pdfListStyle.JustifyExplicitLineBreaks(value);
public static PdfListStyle JustifyLastLine(PdfListStyle pdfListStyle, bool value = true) #

Sets PdfListStyle.JustifyLastLine: When true, a justified list item also expands its final line. The default retains natural spacing on that line.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { JustifyLastLine = value };    pdfListStyle.JustifyLastLine(value);
public static PdfListStyle KeepTogether(PdfListStyle pdfListStyle, bool value = true) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { KeepTogether = value };    pdfListStyle.KeepTogether(value);
public static PdfListStyle KeepWithNext(PdfListStyle pdfListStyle, bool value = true) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { KeepWithNext = value };    pdfListStyle.KeepWithNext(value);
public static PdfListStyle LeftIndent(PdfListStyle pdfListStyle, OfficeLength value) #

Sets PdfListStyle.LeftIndent: Horizontal inset from the list frame to the marker, in points.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { LeftIndent = value };    pdfListStyle.LeftIndent(value);
public static PdfListStyle LineHeight(PdfListStyle pdfListStyle, double? value) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value double? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { LineHeight = value };    pdfListStyle.LineHeight(value);
public static PdfListStyle LineSpacing(PdfListStyle pdfListStyle, PdfLineSpacing? value) #

Sets PdfListStyle.LineSpacing: Explicit line spacing. When set, this overrides PdfListStyle.LineHeight.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.Pdf.PdfLineSpacing? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { LineSpacing = value };    pdfListStyle.LineSpacing(value);
public static PdfListStyle MarkerAlign(PdfListStyle pdfListStyle, OfficeAlignment? value) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeAlignment? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerAlign = value };    pdfListStyle.MarkerAlign(value);
public static PdfListStyle MarkerBold(PdfListStyle pdfListStyle, bool value = true) #

Sets PdfListStyle.MarkerBold: When true, list markers render with the bold variant of the current list font.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerBold = value };    pdfListStyle.MarkerBold(value);
public static PdfListStyle MarkerColor(PdfListStyle pdfListStyle, OfficeColor? value) #

Sets PdfListStyle.MarkerColor: Optional list marker color. When null the marker uses the list block color or list text color.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerColor = value };    pdfListStyle.MarkerColor(value);
public static PdfListStyle MarkerFont(PdfListStyle pdfListStyle, PdfStandardFont? value) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.Pdf.PdfStandardFont? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerFont = value };    pdfListStyle.MarkerFont(value);
public static PdfListStyle MarkerFontFamily(PdfListStyle pdfListStyle, string? value) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value string? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerFontFamily = value };    pdfListStyle.MarkerFontFamily(value);
public static PdfListStyle MarkerFontSize(PdfListStyle pdfListStyle, OfficeLength? value) #

Sets PdfListStyle.MarkerFontSize: Optional marker font size in points. When null the marker uses the list font size.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerFontSize = value };    pdfListStyle.MarkerFontSize(value);
public static PdfListStyle MarkerGap(PdfListStyle pdfListStyle, OfficeLength? value) #

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

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerGap = value };    pdfListStyle.MarkerGap(value);
public static PdfListStyle MarkerItalic(PdfListStyle pdfListStyle, bool value = true) #

Sets PdfListStyle.MarkerItalic: When true, list markers render with the italic variant of the current list font.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerItalic = value };    pdfListStyle.MarkerItalic(value);
public static PdfListStyle MarkerWidth(PdfListStyle pdfListStyle, OfficeLength? value) #

Sets PdfListStyle.MarkerWidth: Optional marker column width, in points. When null the writer estimates the width from the marker text.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { MarkerWidth = value };    pdfListStyle.MarkerWidth(value);
public static PdfListStyle SpacingAfter(PdfListStyle pdfListStyle, OfficeLength? value) #

Sets PdfListStyle.SpacingAfter: Vertical space after the list, in points. When null the writer uses the item spacing.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength? required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { SpacingAfter = value };    pdfListStyle.SpacingAfter(value);
public static PdfListStyle SpacingBefore(PdfListStyle pdfListStyle, OfficeLength value) #

Sets PdfListStyle.SpacingBefore: Vertical space before the list, in points.

Parameters

pdfListStyle OfficeIMO.Pdf.PdfListStyle required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfListStyle The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Pdf.PdfListStyle { SpacingBefore = value };    pdfListStyle.SpacingBefore(value);