officefileapi-devexpress-dot-pdf-9da7b6e3.md
Specifies how to trim characters from a string that does not completely fit into a layout shape.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public enum PdfStringTrimming
Public Enum PdfStringTrimming
| 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.
|
The following properties accept/return PdfStringTrimming values:
The values listed by the PdfStringTrimming enumeration are used to set the PdfStringFormat.Trimming property.
See Also