ImageGear .NET v25.0 - Updated
selectedMarks Property

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace > ArtPage class : selectedMarks Property
Contains a list of all the currently-selected marks.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_selectedMarks() : MarkCollection
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfArtPage.get_selectedMarks();
Example

This JavaScript code unselects all the currently-selected marks.

artPage.get_selectedMarks().removeAllMarks();

This JavaScript code selects a mark, without unselecting the currently-selected marks.

artPage.get_selectedMarks().addMark(markToSelect);
Remarks

This property contains a list of all the currently-selected marks. If you change the value of this property, or if you add or remove a mark from the collection, this object will raise its markSelectionChanged event.

Valid values: Any ImageGear.Web.UI.MarkCollection object.
Default value: new ImageGear.Web.UI.MarkCollection()

ImageGear for .NET name: MarkSelect() and MarkIsSelected()
NotateXpress (version 10) name: Selected

See Also

Reference

ArtPage class
ArtPage Members