ScreenToDisplayX Method
ScreenToDisplayX(Int32, Int32)
When implemented by a class, converts given screen coordinates to display coordinate of a character.
Declaration
public virtual int ScreenToDisplayX(int x, int line)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Horizontal screen coordinate to convert. |
Int32 | line | Vertical display coordinate of a text line. |
Returns
Type | Description |
---|---|
Int32 | The integer representing display coordinate. |
Implements
Remarks
Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.