GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / DateDayField Class / CharPositionToX Method
An System.Int32 value indicates the char position.


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

Parameters

charPosition
An System.Int32 value indicates the char position.

Return Value

An System.Int32 value indicates the x coordinate position.
Remarks
This method converts the char position value to an System.Int32 value indicates the position on x coordinate offset from the left most of the Field in pixel.
See Also