DisplayToScreen Method
DisplayToScreen(Int32, Int32)
Converts given display coordinates, index of line and character, to screen coordinates.
Declaration
public virtual Point DisplayToScreen(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Index of character in the line. |
Int32 | y | Index of line. |
Returns
Type | Description |
---|---|
Point | The Point representing screen coordinate. |
Implements
Remarks
Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.
DisplayToScreen(Int32, Int32, Boolean)
Converts given display coordinates, index of line and character, to screen coordinates.
Declaration
public virtual Point DisplayToScreen(int x, int y, bool average)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | Index of character in the line. |
Int32 | y | Index of line. |
Boolean | average |
Returns
Type | Description |
---|---|
Point | The Point representing screen coordinate. |
Implements
Remarks
Display coordinate represents point in SyntaxEdit control, it may be different from text coordinate due to tabulations, wordwrap and outlining.