Table of Contents

Method UpdatePosition

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

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 IRange

IRange to update.

x int

Index of current character in the text.

y int

Index of current line in the text.

deltaX int

Horizontal displacement.

deltaY int

Vertical displacement.

Returns

bool

True if succeed; otherwise false.