ImageMan.Net Version 3 Summer 2012 Release
MarkChanged Event
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Annotation Class : MarkChanged Event





Glossary Item Box

Occurs when a Mark has changed.

Syntax

Visual Basic (Declaration) 
Public Event MarkChanged As AnnotationMarkHandler
Visual Basic (Usage)Copy Code
Dim instance As Annotation
Dim handler As AnnotationMarkHandler
 
AddHandler instance.MarkChanged, handler
C# 
public event AnnotationMarkHandler MarkChanged
JScript 
In JScript, you can handle the events defined by another class, but you cannot define your own.
Managed Extensions for C++ 
public: __event AnnotationMarkHandler* MarkChanged
C++/CLI 
public:
event AnnotationMarkHandler^ MarkChanged

Event Data

The event handler receives an argument of type AnnotationMarkEventArgs containing data related to this event. The following AnnotationMarkEventArgs properties provide information specific to this event.

PropertyDescription
Mark Gets or sets the mark that has changed.

Remarks

This event will fire when a property of the mark has changed. For example when the ForeColor changes whether this has been done via a context menu, the toolbar, or programmatically.

This event will also fire when the user is done updating the size or location by grabbing and moving a handle. This will not be drawn while the object is being sized or moved, only when it is done. This event will also not fire if the location or size are set programmatically.

This call could easily become recursive if you set a property in response to an event. So this event is "blocked" when inside the event itself preventing this from happening. In other words if you change a property in response to this event it will not generate another changed event.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.