Method PositionChanged
PositionChanged(int, int, int, int, bool)
When implemented by a class, changes positions of any code snippet located next to the specified position.
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.