LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

AnnBeforeObjectChangedEventArgs Constructor (AnnBeforeObjectChangedEventArgs)






An RasterCollection<AnnObject> that has a collection of the objects that is about to be changed.
An AnnObjectChangedType value specifying what is to be changed.
The AnnDesigner object responsible for the change.
Initializes a new instance of the AnnBeforeObjectChangedEventArgs class.
Syntax
public AnnBeforeObjectChangedEventArgs( 
   RasterCollection<AnnObject> objects,
   AnnObjectChangedType changeType,
   AnnDesigner designer
)
'Declaration
 
Public Function New( _
   ByVal objects As RasterCollection(Of AnnObject), _
   ByVal changeType As AnnObjectChangedType, _
   ByVal designer As AnnDesigner _
)
'Usage
 
Dim objects As RasterCollection(Of AnnObject)
Dim changeType As AnnObjectChangedType
Dim designer As AnnDesigner
 
Dim instance As New AnnBeforeObjectChangedEventArgs(objects, changeType, designer)
public AnnBeforeObjectChangedEventArgs( 
   RasterCollection<AnnObject> objects,
   AnnObjectChangedType changeType,
   AnnDesigner designer
)
function AnnBeforeObjectChangedEventArgs( 
   objects ,
   changeType ,
   designer 
)
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.
Remarks
The designer should be null (Nothing in Visual Basic) unless the changeType is AnnObjectChangedType.DesignerDraw or AnnObjectChangedType.DesignerEdit.
Example
For an example, refer to BeforeObjectChanged.
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

Reference

AnnBeforeObjectChangedEventArgs Class
AnnBeforeObjectChangedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.