LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
AnnBeforeObjectChangedEventArgs Constructor
See Also 
Leadtools.Windows.Annotations Namespace > AnnBeforeObjectChangedEventArgs Class : AnnBeforeObjectChangedEventArgs Constructor



objects
An AnnObjectCollection that has a collection of the objects that is about to be changed.
changeType
An AnnObjectChangedType value specifying what is to be changed.
designer
The AnnDesigner object responsible for the change.

The AnnBeforeObjectChangedEventArgs Constructor supports WPF/Silverlight.

The AnnBeforeObjectChangedEventArgs Constructor is available in LEADTOOLS Document and Medical Imaging toolkits.

Initializes a new instance of the AnnBeforeObjectChangedEventArgs class. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal objects As AnnObjectCollection, _
   ByVal changeType As AnnObjectChangedType, _
   ByVal designer As AnnDesigner _
)
Visual Basic (Usage)Copy Code
Dim objects As AnnObjectCollection
Dim changeType As AnnObjectChangedType
Dim designer As AnnDesigner
 
Dim instance As New AnnBeforeObjectChangedEventArgs(objects, changeType, designer)
C# 
public AnnBeforeObjectChangedEventArgs( 
   AnnObjectCollection objects,
   AnnObjectChangedType changeType,
   AnnDesigner designer
)
C++/CLI 
public:
AnnBeforeObjectChangedEventArgs( 
   AnnObjectCollection^ objects,
   AnnObjectChangedType changeType,
   AnnDesigner^ designer
)

Parameters

objects
An AnnObjectCollection that has a collection of the objects that is about to be changed.
changeType
An AnnObjectChangedType value specifying what is to be changed.
designer
The AnnDesigner object responsible for the change.

Example

For C#/VB examples, refer to AnnAutomation.BeforeObjectChanged.

Remarks

The designer should be null (Nothing in Visual Basic) unless the changeType is AnnObjectChangedType.DesignerDraw or AnnObjectChangedType.DesignerEdit.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

AnnBeforeObjectChangedEventArgs Constructor requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.