Leadtools.Pdf assembly and namespace has been renamed to Leadtools.PdfCompressor in Version 17.5. Leadtools.Pdf is used now by the main PDF features. For more information, refer to http://www.leadtools.com/corporate/new-in-v175.htm.
The main PDF compressor class, PdfCompressor, has been renamed to Leadtools.PdfCompressor.PdfCompressorEngine.
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.
Version 16.5 has not changed from Version 16
Version 16 has not changed from Version 15
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> |
The following members have been renamed in v.15:
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 |
The following types changed in existing types in v.15:
Type | Description |
---|---|
PdfCompressorSegmentsInfo | Changed from a structure to a class |
The following members changed in existing types in v.15:
Member | Description |
---|---|
PdfCompressorEngine.Write | "Codec" parameter no longer needed |
PdfCompressorEngine.InsertSegments | "Codec" parameter no longer needed |
PdfCompressorSegmentImageEventArgs.Segment | Property changed to readonly |