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



objects
An RasterCollection<AnnObject> 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 RasterCollection(Of AnnObject), _
   ByVal changeType As AnnObjectChangedType, _
   ByVal designer As AnnDesigner _
)
Visual Basic (Usage)Copy Code
Dim objects As RasterCollection(Of AnnObject)
Dim changeType As AnnObjectChangedType
Dim designer As AnnDesigner
 
Dim instance As AnnBeforeObjectChangedEventArgs(objects, changeType, designer)
C# 
public AnnBeforeObjectChangedEventArgs( 
   RasterCollection<AnnObject> objects,
   AnnObjectChangedType changeType,
   AnnDesigner designer
)
C++/CLI 
public:
AnnBeforeObjectChangedEventArgs( 
   RasterCollection<AnnObject> objects,
   AnnObjectChangedType changeType,
   AnnDesigner^ designer
)

Parameters

objects
An RasterCollection<AnnObject> 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 an example, 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 Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features