ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace > ArtPage class : selectedMarks Property |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function get_selectedMarks() : MarkCollection |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfArtPage.get_selectedMarks(); |
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);
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