Skip to main content

PdfStringFormat.Trimming Property

Gets or sets the PdfStringTrimming enumeration for this PdfStringFormat object.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v23.2.Core.dll

NuGet Package: DevExpress.Pdf.Core

Declaration

public PdfStringTrimming Trimming { get; set; }

Property Value

Type Description
PdfStringTrimming

A PdfStringTrimming enumeration that indicates how text is trimmed when it exceeds the edges of the layout rectangle.

Available values:

Name Description
None

Specifies no trimming.

Character

The text is trimmed to the nearest character.

Word

The text is trimmed to the nearest word.

EllipsisCharacter

The text is trimmed to the nearest character, and an ellipsis is inserted at the end of a trimmed line.

EllipsisWord

The text is trimmed to the nearest word, and an ellipsis is inserted at the end of a trimmed line.

See Also