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


In This Topic
    XToCharPosition Method (NumberField)
    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 NumberField
    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