Leadtools.Pdf 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 |
No other changes were made to this assembly.
Leadtools.Pdf Assembly Changes from Version 16 to Version 16.5
Version 16.5 has not changed from Version 16
Leadtools.Pdf Assembly Changes from Version 15 to Version 16
Version 16 has not changed from Version 15
Leadtools.Pdf Assembly Changes from Version 14.5 to Version 15
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 |
---|---|
PdfCompressorSegmentImageEventHandler | System.EventHandler<PdfCompressorSegmentImageEventArgs> |
Renamed Members
The following members have been renamed in v.15:
Removed Members
The following members have been removed in v.15:
Member | Description |
---|---|
PdfCompressorSegmentsInfo.Empty | Use the PdfCompressorSegmentsInfo constructor instead |
PdfCompressorSegmentsInfo.InsertInternal | Internal use method removed |
PdfCompressorSegmentsInfo.InsertSegmentsInternal | Internal use method removed |
PdfCompressorSegmentsInfo.SetCompressionInternal | Internal use method removed |
PdfCompressorSegmentsInfo.WriteInternal | Internal use method removed |
Type Changed
The following types changed in existing types in v.15:
Type | Description |
---|---|
PdfCompressorSegmentsInfo | Changed from a structure to a class |
Members Changed
The following members changed in existing types in v.15:
Member | Description |
---|---|
PdfCompressor.Write | "Codec" parameter no longer needed |
PdfCompressor.InsertSegments | "Codec" parameter no longer needed |
PdfCompressorSegmentImageEventArgs.Segment | Property changed to readonly |