This method moves the selected object to the front.

[Visual Basic] Public Function MoveToFront() As Boolean
[C#] public bool MoveToFront();

Parameters

None

Return Value

Returns True if successful, otherwise returns False.

Explanation

The MoveToFront method moves the selected object to the front. This method is enabled when the EditKind property has a value of KindOfEdit .Select and an object has been selected. When multiple objects are displayed and this method is executed, the selected object's Z order value becomes the largest of all objects and the object is "moved to the front". To return an object that has been moved, right click the object and display the context menu, the select "Undo" or execute the Undo method and the object will be returned to its original Z order.

The MoveToFront method can be executed using the context menu. Right click on the object to display the context menu and select "Move To Front". For more details about the context menu please refer to the ContextMenuEnable property.

See also

ImageKit.Edit Members | Newtone.ImageKit.Wpf.ImageKit

 

The ImageKit WPF is created by Newtone Corporation