Table of Contents

Method PositionChanged

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.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 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.