ImageGear for .NET
reorderMark Method

Reorders a mark within the Z-order of the page.
Syntax
ASP.NET Ajax Javascript (Specification) 
function reorderMark( 
   mark : Mark,
   zIndex : number(Integer)
) : (Any);
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfArtPage.reorderMark(Mark,number(Integer));

Parameters

mark
The mark to reorder. This mark must already be associated with the ArtPage.
zIndex
The zero-based Z-index that this mark will have after reordering.
Remarks

This function reorders a mark within the Z-order of the page. It will remove it from its current location in the Z-order and re-insert it so it has the given Z-index. If the mark is not currently associated with the page, this function will throw an exception. If the mark already has the specified Z-index, this function will do nothing and will not raise the markReordered event.

After this function reorders the mark, it will raise the markReordered event. Reordering one mark implicitly reorders other marks as well, but this function will not raise the markReordered event for those implicitly-reordered marks.

See Also

Reference

ArtPage class
ArtPage Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback