[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.Fields.Field.XToCharPosition

XToCharPosition Method

XToCharPosition(int)

Converts the x coordinate position to char position.

Declaration
protected virtual int XToCharPosition(int xPosition)
Protected Overridable Function XToCharPosition(xPosition As Integer) As Integer
Parameters
Type Name Description
int xPosition

An int value indicates the x coordinate position.

Returns
Type Description
int

An int value indicates the char position.

Remarks

This method converts the int value indicates the position on x coordinate, which related to the left most of the Field, to a char position value.