ImageGear .NET v25.2 - Updated
ImageGear.Web.UI Library / ImageGear.Web.UI Namespace / ArtPage class / selectedMarks Property

In This Topic
    selectedMarks Property
    In This Topic
    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