Table of Contents

Method PositionChanged

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

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

x int

The X-constituent of the Point value that specifies start position to change.

y int

The Y-constituent of the Point value that specifies start position to change.

deltaX int

Specifies horizontal displacement.

deltaY int

Specifies vertical displacement.

preserveBounds bool

Specifies whether snippet bounds should be preserved.

Returns

bool

True if succeed; otherwise false.