Spread Windows Forms 7.0 Product Documentation
CharPositionToX Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace > Field Class : CharPositionToX Method


charPosition
An System.Int32 value indicates the char position.

Glossary Item Box

Converts the char position to x coordinate position.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function CharPositionToX( _
   ByVal charPosition As Integer _
) As Integer
Visual Basic (Usage)Copy Code
Dim instance As Field
Dim charPosition As Integer
Dim value As Integer
 
value = instance.CharPositionToX(charPosition)
C# 
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.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.