AvalonEdit
GetVisualColumn Method (textLine, xPos, allowVirtualSpace)
NamespacesICSharpCode.AvalonEdit.RenderingVisualLineGetVisualColumn(TextLine, Double, Boolean)
Gets the visual column from a document position (relative to top left of the document). If the user clicks between two visual columns, rounds to the nearest column.
Declaration Syntax
C#Visual BasicVisual C++
public int GetVisualColumn(
	TextLine textLine,
	double xPos,
	bool allowVirtualSpace
)
Public Function GetVisualColumn ( _
	textLine As TextLine, _
	xPos As Double, _
	allowVirtualSpace As Boolean _
) As Integer
public:
int GetVisualColumn(
	TextLine^ textLine, 
	double xPos, 
	bool allowVirtualSpace
)
Parameters
textLine (TextLine)
xPos (Double)
allowVirtualSpace (Boolean)

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238