[]
Provide some helper functions.
public static class CellInfo
Gets cell name(address) according to its row and column indexes.
public static string CellIndexToName(int row, int column)
row
intThe row index.
column
intThe column index.
The address of cell.
Gets cell row and column according to its name(address).
public static void CellNameToIndex(string name, out int row, out int column)
name
stringThe cell name.
row
intThe row index.
column
intThe column index.
Gets column name according to column index.
public static string ColumnIndexToName(int index)
index
intThe column index.
The name of column.
Gets column index according to column name.
public static int ColumnNameToIndex(string name)
name
stringThe column name.
The index of column.
Returns the position and size (in pixels) of the specified range.
public static RectangleF GetAccurateRangeBoundary(IRange range)
range
IRangeThe range object.
The RectangleF object.
Returns the position and size (in pixels) of the specified range.
[Obsolete]
public static Rectangle GetRangeBoundary(IRange range)
range
IRangeThe range object.
Gets row name according to row index.
public static string RowIndexToName(int index)
index
intThe row index.
The name of row.
Gets row index according to row name.
public static int RowNameToIndex(string name)
name
stringThe row name.
The index of row.