Skip to main content

dxSpreadSheetMaxCaptionLength Constant

Specifies the maximum length of the worksheet‘s caption.

Declaration

const dxSpreadSheetMaxCaptionLength = 31;

Remarks

This global constant’s value limits the length of the worksheet’s name stored in the TdxSpreadSheetCustomView.Caption property.

By default, the maximum length of the string stored as the worksheet’s caption is limited to 31 characters for compatibility with Microsoft Excel® file formats. If compatibility with popular spreadsheet applications is not important for your project, you can bypass this limitation by increasing the value of the dxSpreadSheetMaxCaptionLength global constant.

For additional information on working with worksheet names, refer to the Rename a Worksheet and Add and Delete Sheets topics.

See Also