Preserve spaces, tabs (\t), carriage returns (\r) and line feeds (\n). Set this property to true to include preformatted text like code fragments.

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

Syntax

C#
public bool PreserveWhiteSpace { get; set; }
Visual Basic
Public Property PreserveWhiteSpace As Boolean
	Get
	Set

Remarks

Fragments that have PreserveWhiteSpace set to true cannot be Justified because justification modifies the whitespace between words.

Use TabSize to set the width of tabs in spaces.

See Also