Spread Windows Forms 13.0 Product Documentation
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / Field Class / CharPositionToX Method
An System.Int32 value indicates the char position.


In This Topic
    CharPositionToX Method
    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 Field
    Dim charPosition As Integer
    Dim value As Integer
     
    value = instance.CharPositionToX(charPosition)
    protected virtual int CharPositionToX( 
       int 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