LEAD Technologies, Inc

Leadtools.PdfCompressor Assembly Changes

Version 17.5 changes

Version 17 changes

Version 16.5 changes

Version 16 changes

Version 15 changes

Leadtools.PdfCompressor Assembly Changes from Version 17 to Version 17.5

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.

Leadtools.PdfCompressor 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.PdfCompressor Assembly Changes from Version 16 to Version 16.5

Version 16.5 has not changed from Version 16

Leadtools.PdfCompressor Assembly Changes from Version 15 to Version 16

Version 16 has not changed from Version 15

Leadtools.PdfCompressor 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:

Version 14.5 Version 15
PdfCompressorSegmentsInfo.SegmentRect PdfCompressorSegmentsInfo.Rectangle
PdfCompressorSegmentsInfo.SegmentType PdfCompressorSegmentsInfo.Type
PdfCompressorSegmentsInfo.SegmentColors PdfCompressorSegmentsInfo.Colors
PdfCompressorSegmentsInfo.ColorsCount PdfCompressorSegmentsInfo.ValidColors

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
PdfCompressorEngine.Write "Codec" parameter no longer needed
PdfCompressorEngine.InsertSegments "Codec" parameter no longer needed
PdfCompressorSegmentImageEventArgs.Segment Property changed to readonly

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.