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


In This Topic
    CharPositionToX Method (TimeSpanField)
    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 TimeSpanField
    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