Leadtools.Annotations Assembly Changes from Version 16 to Version 16.5
New Members
The following members have been added to existing types in v16.5:
Member | Description |
---|---|
Leadtools.Annotations.AnnObject.ConvertObjectToLogicalPoints | Converts an array of points from object to logical coordinates. |
Leadtools.Annotations.AnnObject.ConvertObjectToLogicalRectangle | Converts a rectangle from object to logical coordinates. |
Leadtools.Annotations.AnnObject.ConvertLogicalToObjectPoints | Converts an array of points from logical to object coordinates. |
Leadtools.Annotations.AnnObject.ConvertLogicalToObjectRectangle | Converts a rectangle from logical to object coordinates. |
Leadtools.Annotations.AnnEditDesigner.MoveObjectWithName | Gets or sets a value indicating whether to move the object when the name moves. |
Leadtools.Annotations.AnnContainer.Draw(Graphics, Rectangle) | Draws the container on the specified surface. |
Leadtools.Annotations.AnnAutomationManager.MoveObjectWithName | Gets or sets a value indicating whether to move the object when the name moves. |
Leadtools.Annotations.AnnAutomation.AttachViewer(Leadtools.WinForms.RasterImageViewer) | Attaches this AnnAutomation object with a RasterImageViewer object. |
Leadtools.Annotations.AnnAutomation.AttachViewer(Leadtools.WinForms.RasterImageViewer) | Detaches this AnnAutomation object from its RasterImageViewer object. |
Leadtools.Annotations.AnnCodecsFormat.Emf | Use the Windows EMF format (LEADTOOLS Win32 compatible). Note that this format is Save only. LEADTOOLS for .NET Annotations library will not load or get information for a EMF file. |
Leadtools.Annotations.AnnAutomationManager.HidePropertiesTabs | Specifies the list of property pages that can be displayed or hidden when displaying the annotation properties dialog through automation. |
Leadtools.Annotations.AnnAutomation.DetachViewer | Detaches this AnnAutomation object from it's RasterImageViewer object. |
New Enumerations
The following enumerations have been added in LEADTOOLS for .NET v16.5:
Enumeration | Description |
---|---|
Leadtools.Annotations.AnnAutomationHidePropertiesTabs | Flags that correspond to the property pages that can be displayed or hidden when displaying the annotation properties dialog through automation. |
Leadtools.Annotations Assembly Changes from Version 15 to Version 16
Version 16 has not changed from Version 15.
Leadtools.Annotations Assembly Changes from Version 14.5 to Version 15
New Features
The following features have been added in v15:
- Support for fixed annotation objects has been added
Obsolete Features
The following features have been removed in v15:
- Support for AnnCodecsFormat.Native and AnnCodecsFormat.Encoded have been removed
New Members
The following members have been added to existing types in v15:
Member | Description |
---|---|
AnnObject.SupportsFixed | true if this AnnObject can be fixed; otherwise it is false |
AnnObject.IsFixedStateStackEmpty | True if the fixed stack is empty; false otherwise |
AnnObject.GetFixedState | Determines if this AnnObject is in a fixed state |
AnnObject.PushFixedState | Temporarily disables the fixed state of an AnnObject |
AnnObject.PopFixedState | Re-enables the fixed state of an AnnObject |
AnnContainer.PushFixedState | Temporarily disables the fixed state of every AnnObject in the AnnContainer |
AnnContainer.PopFixedState | Re-enables the fixed state of every AnnObject in the AnnContainer |
AnnObjectChangedType.Fixed | As a result from changing the 'fixed' state of an existing object via the AnnEditDesigner user interface |
Event Handlers Delegates
LEADTOOLS For .NET Class Library uses the new .NET 2.0 generic event handler delegate module.
The following table lists the delegate types that have been removed in v.15:
Version 14.5 | Version 15 |
---|---|
AnnDrawDesignerEventHandler | EventHandler<AnnDrawDesignerEventArgs> |
AnnEditDesignerEventHandler | EventHandler<AnnEditDesignerEventArgs> |
AnnRunDesignerEventHandler | EventHandler<AnnRunDesignerEventArgs> |
AnnBeforeObjectChangedEventHandler | EventHandler<AnnBeforeObjectChangedEventArgs> |
AnnAfterObjectChangedEventHandler | EventHandler<AnnAfterObjectChangedEventArgs> |
AnnPaintEventHandler | EventHandler<AnnPaintEventArgs> |
Generic Collections
All collection types use the new .NET 2.0 generic collection module. The base RasterCollection class in v.14.5 has been replaced with a Generic RasterCollection class that all other collection classes in v.15 derive from.
The following table lists the collection classes that has been removed in v.15:
Version 14.5 | Version 15 |
---|---|
AnnPointCollection | RasterCollection<Point> |
AnnObjectCollection | RasterCollection<AnnObject> |
AnnAutomationObjectCollection | RasterCollection<AnnAutomationObject> |
AnnAutomationCollection | RasterCollection<AnnAutomation> |
AnnControlPointCollection | RasterCollection<AnnControlPoint> |
Renamed Members
The following members have been renamed in v.15:
Version 14.5 | Version 15 |
---|---|
AnnAutomationManager.UseXpStyleToolBar | AnnAutomationManager.UseXPStyleToolBar |
Properties Changed into Methods
The following properties have changed into methods in v.15:
Version 14.5 | Version 15 |
---|---|
AnnEditDesigner.ControlPointsLocation | AnnEditDesigner.GetControlPointsLocation |
Members Changed
The following members changed in existing types in v.15:
Member | Description |
---|---|
AnnAutomationManager.CreateDefaultObjectContextMenu | Method is now static (Shared) member of the AnnAutomationManager class |
AnnAutomationManager.CurrentUICultureChanged | Method is now static (Shared) member of the AnnAutomationManager class |