Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AnnBeforeObjectChangedEventArgs Constructor
See Also 
Leadtools.Windows.Annotations Namespace > AnnBeforeObjectChangedEventArgs Class : AnnBeforeObjectChangedEventArgs Constructor



objects
An Collection<AnnObjectBase> 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.
Initializes a new instance of the AnnBeforeObjectChangedEventArgs class.

Syntax

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

Parameters

objects
An Collection<AnnObjectBase> 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: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

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.