GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateShortHourField Class / XToCharPosition Method
An System.Int32 value indicates the x coordinate position.


In This Topic
XToCharPosition Method (DateShortHourField)
In This Topic
Converts the x coordinate position to char position.
Syntax
'Declaration
 
Protected Overridable Function XToCharPosition( _
   ByVal xPosition As Integer _
) As Integer
 
'Usage
 
Dim instance As DateShortHourField
Dim xPosition As Integer
Dim value As Integer
 
value = instance.XToCharPosition(xPosition)

Parameters

xPosition
An System.Int32 value indicates the x coordinate position.

Return Value

An System.Int32 value indicates the char position.
Remarks
This method converts the System.Int32 value indicates the position on x coordinate, which related to the left most of the Field, to a char position value.
See Also