public interface IUiGridMetrics
| Modifier and Type | Method and Description |
|---|---|
double |
getColumnLeftXCoordinate(int column)
Gets the left x coordinate of the provided column
|
double |
getColumnLeftXCoordinate(IRangeAddress address)
Gets the left x coordinate of the provided
IRangeAddress |
double |
getColumnRightXCoordinate(int column)
Gets the right x coordinate of the provided column
|
double |
getColumnRightXCoordinate(IRangeAddress address)
Gets the right x coordinate of the provided
IRangeAddress |
double |
getRowBottomYCoordinate(int row)
Gets the bottom y coordinate of the provided row
|
double |
getRowBottomYCoordinate(IRangeAddress address)
Gets the bottom y coordinate of the provided
IRangeAddress |
double |
getRowTopYCoordinate(int row)
Gets the top y coordinate of the provided row
|
double |
getRowTopYCoordinate(IRangeAddress address)
Gets the top y coordinate of the provided
IRangeAddress |
IRangeAddress |
getVisibleCellAddress(double x,
double y)
Converts grid canvas pixels to
IRangeAddress |
int |
getVisibleColumnIndex(double x)
Converts grid canvas horizontal coordinate to number of the
IColumn |
int |
getVisibleRowIndex(double y)
Converts grid canvas vertical coordinate to number of the
IRow |
IRangeAddress getVisibleCellAddress(double x, double y)
IRangeAddressx - horizontal coordinate (from left to right, in pixels)y - vertical coordinate (from top to bottom, in pixels)IRangeAddress of cell owns given pointint getVisibleRowIndex(double y)
IRowy - the vertical coordinate (from top to bottom, in pixels)IRow number (starts from 1)int getVisibleColumnIndex(double x)
IColumnx - the horizontal coordinate (from left to right, in pixels)IColumn number (starts from 1) own given x-coordinatedouble getColumnLeftXCoordinate(int column)
column - the column indexdouble getColumnRightXCoordinate(int column)
column - the column indexdouble getRowTopYCoordinate(int row)
row - the row indexdouble getRowBottomYCoordinate(int row)
row - the row indexdouble getColumnLeftXCoordinate(IRangeAddress address)
IRangeAddressaddress - the range addressIRangeAddressdouble getColumnRightXCoordinate(IRangeAddress address)
IRangeAddressaddress - the range addressIRangeAddressdouble getRowTopYCoordinate(IRangeAddress address)
IRangeAddressaddress - the range addressIRangeAddressdouble getRowBottomYCoordinate(IRangeAddress address)
IRangeAddressaddress - the range addressIRangeAddressCopyright © 2025. All rights reserved.