The content of this fragment.

Namespace: TallComponents.PDF.Layout.Paragraphs
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public string Text { get; set; }
Visual Basic
Public Property Text As String
	Get
	Set

Remarks

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 HasContextFields 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.

See Also