Spread Windows Forms 12.0 Product Documentation
CharPositionToX Method


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > Field Class : CharPositionToX Method
An System.Int32 value indicates the char position.
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

Reference

Field Class
Field Members