Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PdfStringFormat.Trimming Property

Gets or sets the PdfStringTrimming enumeration for this PdfStringFormat object.

Namespace: DevExpress.Pdf

Assembly: DevExpress.Pdf.v24.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