ImageGear .NET - Updated
OnMarkAdded Property




ImageGear24.Web Assembly > ImageGear.Web.UI Namespace > PageView Class : OnMarkAdded Property
Gets or sets user defined Javascript event handler to receive client events that indicate when a new mark is added to the collection.
Syntax
'Declaration
 
<CategoryAttribute("Client PageView Control Events")>
<DescriptionAttribute("A user defined Javascript event handler to receive the Client markAdded Event.")>
Public Property OnMarkAdded As String
'Usage
 
Dim instance As PageView
Dim value As String
 
instance.OnMarkAdded = value
 
value = instance.OnMarkAdded
[Category("Client PageView Control Events")]
[Description("A user defined Javascript event handler to receive the Client markAdded Event.")]
public string OnMarkAdded {get; set;}
[Category("Client PageView Control Events")]
[Description("A user defined Javascript event handler to receive the Client markAdded Event.")]
public: __property string* get_OnMarkAdded();
public: __property void set_OnMarkAdded( 
   string* value
);
[Category("Client PageView Control Events")]
[Description("A user defined Javascript event handler to receive the Client markAdded Event.")]
public:
property String^ OnMarkAdded {
   String^ get();
   void set (    String^ value);
}
Remarks

The collection will raise this event whenever a mark is added (as the result of a call to the client Javascript addMark or addMarks functions in the Client API) The object will raise this event after it has added the mark(s).

Note: All the references refer to the Client API library.

When the collection raises this event, it will provide a client Javascript "ImageGear.Web.UI.MarkEventArgs" object as the event argument. When raised as a result of the client Javascript "addMark" function, the event argument will have its "ImageGear.Web.UI.MarkEventArgs.mark" property set to the added mark. When raised as a result of the client Javascript "addMarks" function, the event argument will not contain a client Javascript "ImageGear.Web.UI.MarkEventArgs.mark" property.

See Also

Reference

PageView Class
PageView Members