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


xPosition
An System.Int32 value indicates the x coordinate position.

Glossary Item Box

Converts the x coordinate position to char position.

Syntax

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

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.