Leadtools.Forms Assembly Changes from Version 16.5 to Version 17
Note on LEADTOOLS for .NET v17
In LEADTOOLS for .NET v16.5, some assemblies had a dependency on System.Drawing. System.Drawing is the .NET 2.0 assembly used with the Windows Forms and GDI+ platforms. Since LEADTOOLS v17 treats Windows Forms, Windows Presentation Foundation (WPF) and Silverlight as equal citizens, certain types in this LEADTOOLS assembly has been changed to reflect that. For example, properties with System.Drawing.Point type have been changed to use the new Leadtools.LeadPoint type, methods with a parameter of System.Drawing.Rectangle type have been changed to use the new Leadtools.LeadRect type. The following table shows the old 16.5 and corresponding new v17 types:
Old v16.5 Type |
New v17 Type |
---|---|
System.Drawing.Point |
Leadtools.LeadPoint |
System.Drawing.Size |
Leadtools.LeadSize |
System.Drawing.Rectangle |
Leadtools.LeadRect |
System.Drawing.Color |
Leadtools.RasterColor |
System.Drawing.Drawing2.FillMode |
Leadtools.LeadFillMode |
These changes are not listed in the topics below.
New Members
The following new members have been added to existing types in LEADTOOLS For .NET v17:
Member | Description |
---|---|
LeadPoint LogicalPoint.ToPoint(double dpiX, double dpiY) |
Replaces PointF LogicalPoint.ToPointF(double dpiX, double dpiY) |
LogicalPoint LogicalPoint.FromPoint(LeadPoint point) |
Replaces LogicalPoint LogicalPoint.FromPointF(PointF point) |
LogicalPoint(LeadPoint point) |
Replaces LogicalPoint(PointF point) |
LeadSize LogicalSize.ToSizeF(double dpiX, double dpiY) |
Replaces SizeF LogicalSize.ToSizeF(double dpiX, double dpiY) |
LogicalSize LogicalSize.FromSize(LeadSize size) |
Replaces LogicalSize LogicalSize.FromSizeF(SizeF size) |
LogicalSize(LeadSize size) |
Replaces LogicalSize(SizeF size) |
LogicalRectangle LogicalRectangle.FromRectangle(LeadRect rect) |
Replaces LogicalRectangle LogicalRectangle.FromRectangleF(RectangleF rect) |
LogicalRectangle(LeadRect rect) |
Replaces LogicalRectangle(RectangleF rect) |
LeadRect LogicalRectangle.ToRectangle(double dpiX, double dpiY) |
Replaces RectangleF LogicalRectangle.ToRectangleF(double dpiX, double dpiY) |
bool LogicalRectangle.Contains(LeadPoint pt) |
Replaces bool LogicalRectangle.Contains(PointF pt) |
bool LogicalRectangle.Contains(LeadRect rect) |
Replaces bool LogicalRectangle.Contains(RectangleF rect) |
void LogicalRectangle.Intersect(LeadRect rect) |
Replaces void LogicalRectangle.Intersect(RectangleF rect) |
bool LogicalRectangle.IntersectsWith(LeadRect rect) |
Replaces bool LogicalRectangle.IntersectsWith(RectangleF rect) |
void LogicalRectangle.Offset(LeadPoint pos) |
Replaces void LogicalRectangle.Offset(PointF pos) |
Leadtools.Forms Assembly Changes from Version 16 to Version 16.5
Version 16.5 has not changed from Version 16. For more information, refer to http://www.leadtools.com/Home2/general/new-in-v16_5.htm
Leadtools.Forms Assembly Changes from Version 15 to Version 16
New Assemblies
The following assemblies have been added to LEADTOOLS For .NET v16 to support forms recognition and processing:
Assembly Class/Namespace |
Description |
Leadtools.Forms.DLL - Leadtools.Forms |
Provides classes and methods for implementing/manipulating Forms Recognition and Processing support. |
Leadtools.Forms.Ocr.DLL - Leadtools.Forms.Ocr |
Provides classes and methods for implementing/manipulating LEADTOOLS Optical Character Recognition support. |
Leadtools.Forms.Processing.DLL - Leadtools.Forms.Processing |
Provides classes and methods for implementing/manipulating Forms processing support. |
Leadtools.Forms.Recognition.DLL - Leadtools.Forms.Recognition |
Provides classes and methods for implementing/manipulating Forms recognition support. |
Leadtools.Forms.Recognition.Barcode.DLL - Leadtools.Forms.Recognition.Barcode |
Provides classes and methods for implementing/manipulating Barcode Forms Recognition support. |
Leadtools.Forms.Recognition.Ocr.DLL - Leadtools.Forms.Recognition.Ocr |
Provides classes and methods for implementing/manipulating Forms Optical Character Recognition support. |