Class LayoutHelper
Represents a layout helper class.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Layout
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public static class LayoutHelper
Methods
CalculateCellContentSize(Worksheet, Int32, Int32)
Calculates the size of the cell content.
Declaration
public static Size CalculateCellContentSize(Worksheet worksheet, int rowIndex, int columnIndex)
Parameters
Worksheet
worksheet
The worksheet. |
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
System.Windows.Size
The size of the cell content. |
CalculateCellContentSize(Worksheet, CellIndex)
Calculates the size of the cell content.
Declaration
public static Size CalculateCellContentSize(Worksheet worksheet, CellIndex cellIndex)
Parameters
Worksheet
worksheet
The worksheet. |
CellIndex
cellIndex
Index of the cell. |
Returns
System.Windows.Size
The size of the cell content. |
CalculateCellLayoutBox(Worksheet, Int32, Int32)
Calculates the cell layout box.
Declaration
public static CellLayoutBox CalculateCellLayoutBox(Worksheet worksheet, int rowIndex, int columnIndex)
Parameters
Worksheet
worksheet
The worksheet. |
System.Int32
rowIndex
Index of the row. |
System.Int32
columnIndex
Index of the column. |
Returns
CellLayoutBox
The cell layout box. |
CalculateCellLayoutBox(Worksheet, CellIndex)
Calculates the cell layout box.
Declaration
public static CellLayoutBox CalculateCellLayoutBox(Worksheet worksheet, CellIndex cellIndex)
Parameters
Worksheet
worksheet
The worksheet. |
CellIndex
cellIndex
Index of the cell. |
Returns
CellLayoutBox
The cell layout box. |