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

TdxOpenXmlDocumentExporterOptions.LimitFontNameTo31Chars Property

Specifies if the maximum length of font names can exceed 31 characters in exported OpenXML documents.

#Declaration

Delphi
property LimitFontNameTo31Chars: Boolean read; write; default DefaultLimitFontNameTo31Chars;

#Property Value

Type Default
Boolean DefaultLimitFontNameTo31Chars

#Remarks

This property ensures compatibility with Microsoft Word®, since it has a 31 character font name limit. By default, the Rich Edit control imposes the same limitation on font names exported to the OpenXML file format. If necessary, the control truncates a font name and appends one or more digits in order to keep it unique.

You can disable this font name length limitation by setting the LimitFontNameTo31Chars property to False.

The default value of the LimitFontNameTo31Chars property is DefaultLimitFontNameTo31Chars.

See Also