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

TdxSpreadSheetTextService.CalculateSize(TdxSpreadSheetCell,TcxCanvas,TRect,Boolean,PInteger,PInteger,TdxSpreadSheetCellStyleHandle) Method

Calculates dimensions of the area occupied by the specified cell’s value.

#Declaration

Delphi
class procedure CalculateSize(ACell: TdxSpreadSheetCell; ACanvas: TcxCanvas; const ABounds: TRect; AIsMerged: Boolean; AWidth: PInteger; AHeight: PInteger; AStyle: TdxSpreadSheetCellStyleHandle = nil); virtual;

#Parameters

Name Type
ACell TdxSpreadSheetCell
ACanvas TcxCanvas
ABounds TRect
AIsMerged Boolean
AWidth PInteger
AHeight PInteger
AStyle TdxSpreadSheetCellStyleHandle

#Remarks

This class procedure supports the internal infrastructure and is not intended to be used directly from your code.

See Also