NShape Reference
MoveBy

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > ShapeBase Class >

NShape Reference
MoveBy

Previous pageReturn to chapter overviewNext page

Moves the shape by a given distance.

Syntax

public override sealed bool MoveBy(int deltaX, int deltaY)

Description

Moves the shape by a given distance.

This Method overrides and seals the Shape.MoveBy method. The implementation of this method calls BeginMove, MoveByCore and EndMove in this order.

Parameters

Name

Description

deltaX, deltaY

The distance of the shape movement.

Return Value

Returns true if the movement was successful, false if the movement was performed 'as far as possible'.