Method PositionChanged
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
PositionChanged(int, int, int, int, bool)
Changes positions of any code snippet located next to the specified position.
public virtual bool PositionChanged(int x, int y, int deltaX, int deltaY, bool preserveBounds)
Parameters
x
intThe X-constituent of the Point value that specifies start position to change.
y
intThe Y-constituent of the Point value that specifies start position to change.
deltaX
intSpecifies horizontal displacement.
deltaY
intSpecifies vertical displacement.
preserveBounds
boolSpecifies whether snippet bounds should be preserved.
Returns
- bool
True if succeed; otherwise false.