The AnnBeforeObjectChangedEventArgs Constructor is available in LEADTOOLS Document and Medical Imaging toolkits.
Initializes a new instance of the AnnBeforeObjectChangedEventArgs class.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 New 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.
For an example, refer to AnnAutomation.BeforeObjectChanged.
The designer should be null (Nothing in Visual Basic) unless the changeType is AnnObjectChangedType.DesignerDraw or AnnObjectChangedType.DesignerEdit.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7