Spread Windows Forms 11.0 Product Documentation
XToCharPosition Method


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > Field Class : XToCharPosition Method
An System.Int32 value indicates the x coordinate position.
Converts the x coordinate position to char position.
Syntax
'Declaration
 
Protected Overridable Function XToCharPosition( _
   ByVal xPosition As Integer _
) As Integer
'Usage
 
Dim instance As Field
Dim xPosition As Integer
Dim value As Integer
 
value = instance.XToCharPosition(xPosition)
protected virtual int XToCharPosition( 
   int 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

Reference

Field Class
Field Members