Skip to main content

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

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

Declaration

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