Method PositionChanged
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.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
xintThe X-constituent of the Point value that specifies start position to change.
yintThe Y-constituent of the Point value that specifies start position to change.
deltaXintSpecifies horizontal displacement.
deltaYintSpecifies vertical displacement.
preserveBoundsboolSpecifies whether snippet bounds should be preserved.
Returns
- bool
True if succeed; otherwise false.