共用方式為


ITextViewLine.GetBufferPositionFromXCoordinate Method

Include Protected Members
Include Inherited Members

Gets the buffer position of the character whose character bounds contains the given x coordinate.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetBufferPositionFromXCoordinate(Double) Gets the buffer position of the character whose character bounds contains the given x-coordinate.
Public method GetBufferPositionFromXCoordinate(Double, Boolean) Gets the buffer position of the character whose character bounds contains the given x-coordinate.

Top

See Also

Reference

ITextViewLine Interface

Microsoft.VisualStudio.Text.Formatting Namespace