Property Text

Namespace TallComponents.PDF.Layout.Paragraphs
Class Fragment

The content of this fragment.

By default all whitespace characters (tabs, spaces and newlines) will be removed. To render pre-formatted text set PreserveWhiteSpace to true.

Use SuppressSpaceBefore to prevent a space from being inserted before this fragment.

Fragments may contain context fields. These fields will be resolved to values when is true.

The following fields are related to page numbering:

FieldDescription#pCurrent page number (starting at 1).#PTotal number of pages in the document.#QTotal number of pages in this set. A page set starts when Section.RestartPageNumber is set.

The following fields are restricted to header and footer fragments:

FieldDescription#c<i><i> ranges from 0 to 9. The caption of the last i-level heading.#l<i><i> ranges from 0 to 9. The label of the last heading at level i.#<i><i> ranges from 0 to 9. The last heading number at level i (1, 2, etc.).#a<i><i> ranges from 0 to 9. The last heading number at level i (1, 2, etc.). Formatted alphabetically, lowercase.#A<i><i> ranges from 0 to 9. The last heading number at level i (1, 2, etc.). Formatted alphabetically, uppercase.#i<i><i> ranges from 0 to 9. The last heading number at level i (1, 2, etc.). Formatted as roman numerals, lowercase.#I<i><i> ranges from 0 to 9. The last heading number at level i (1, 2, etc.). Formatted as roman numerals, uppercase.

Syntax

public  String  Text  {  get;  set;  }

Property value

String