ImageGear for .NET
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
 
<DescriptionAttribute("A user defined Javascript event handler to receive the Client markAdded Event.")>
<CategoryAttribute("Client PageView Control Events")>
Public Property OnMarkAdded As String
'Usage
 
Dim instance As PageView
Dim value As String
 
instance.OnMarkAdded = value
 
value = instance.OnMarkAdded
[DescriptionAttribute("A user defined Javascript event handler to receive the Client markAdded Event.")]
[CategoryAttribute("Client PageView Control Events")]
public string OnMarkAdded {get; set;}
[DescriptionAttribute("A user defined Javascript event handler to receive the Client markAdded Event.")]
[CategoryAttribute("Client PageView Control Events")]
public: __property string* get_OnMarkAdded();
public: __property void set_OnMarkAdded( 
   string* value
);
[DescriptionAttribute("A user defined Javascript event handler to receive the Client markAdded Event.")]
[CategoryAttribute("Client PageView Control Events")]
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

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback