Click or drag to resize
LayoutHelperCalculateCellContentSize Method (Worksheet, CellIndex)
Calculates the size of the cell content.

Namespace: Telerik.Windows.Documents.Spreadsheet.Layout
Assembly: Telerik.Windows.Documents.Spreadsheet (in Telerik.Windows.Documents.Spreadsheet.dll) Version: 2017.3.1010.40 (2017.3.1010.40)
Syntax
public static Size CalculateCellContentSize(
	Worksheet worksheet,
	CellIndex cellIndex
)

Parameters

worksheet
Type: Telerik.Windows.Documents.Spreadsheet.ModelWorksheet
The worksheet.
cellIndex
Type: Telerik.Windows.Documents.Spreadsheet.ModelCellIndex
Index of the cell.

Return Value

Type: Size
The size of the cell content.
See Also