Method GetPosFromPosition
GetPosFromPosition(SourceText, Point)
When implemented by a class, converts given position into absolute text coordinate.
int GetPosFromPosition(SourceText text, Point position)
Parameters
text
SourceTextSourceText
to process.position
PointPoint
to convert.
Returns
- int
Absolute position.