Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.Models.Pdf.Shapes.FragmentModel

FragmentModel.PreserveWhiteSpace Property

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

csharp
public bool PreserveWhiteSpace { get; set; }

Property Value

System.Boolean

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.