static public method ParagraphExtensions.AddText

Brief

Adds a text element, allows configuring it, and inserts a tabulation symbol, if needed.

Declaration
C#
Gehtsoft.PDFFlow.Builder.FormattedTextElementBuilder  AddText (this Gehtsoft.PDFFlow.Builder.ParagraphBuilder paragraph, string text, System.Action<Gehtsoft.PDFFlow.Builder.FormattedTextElementBuilder> elementConfig = null, bool addTabulationSymbol = False, bool ignoreNewLineSymbol = False)

Parameters
paragraph

This ParagraphBuilder.

text

The content of the text element.

elementConfig

An additional element configuration action.

addTabulationSymbol

Defines whether a tabulation symbol is to be added. The value is True if a tabulation symbol is to be added, and False otherwise.

ignoreNewLineSymbol

The value True indicates that a new line symbol should be replaced with a space.

Declared in ParagraphExtensions

back