class LineBuilder

Parents

object

Brief

The class for creating lines and configuring their settings.

Static Public Methods

New

Creates a new instance of LineBuilder.

Public Properties

Style

The style applied to the line.

Public Methods

ApplyStyle

Applies a style to the line.

BuildToSection

Builds a line to the section.

SetAlignment

Sets the line horizontal alignment.

SetColor

Sets the line color.

SetKeepWithNext

Defines whether the line should be rendered with the element next to it.

SetLength

Sets the line length.

SetMarginBottom

Sets the line bottom margin.

SetMarginLeft

Sets the line left margin.

SetMarginRight

Sets the line right margin.

SetMargins

Sets all line margins to the same value.

SetMargins

Sets the line left, top, right, and bottom margins.

SetMarginTop

Sets the line top margin.

SetPageBreak

Sets the page break for the line.

SetStroke

Sets the line stroke style.

SetWidth

Sets the line width.

ToArea

Changes the current fluent context to RepeatingAreaBuilder.

ToDocument

Changes the current fluent context to DocumentBuilder.

ToSection

Changes the current fluent context to SectionBuilder.

back