Method UpdatePosition
UpdatePosition(IRange, int, int, int, int)
Updates specified position by DeltaX and DeltaY values for specific IRange
.
public virtual bool UpdatePosition(IRange range, int x, int y, int deltaX, int deltaY)
Parameters
range
IRangeIRange
to update.x
intIndex of current character in the text.
y
intIndex of current line in the text.
deltaX
intHorizontal displacement.
deltaY
intVertical displacement.
Returns
- bool
True if succeed; otherwise false.