static public method ParagraphExtensions.AddTextToParagraph

Brief

Adds a text element with a certain text string and a tabulation symbol, if needed, to the paragraph, allows configuring the text element and returns the ParagraphBuilder.

Declaration
C#
Gehtsoft.PDFFlow.Builder.ParagraphBuilder  AddTextToParagraph (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

A text string.

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