Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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
)
Managed Extensions for 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 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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