Leadtools.PdfCompressor Assembly Changes

Summary

Version Changes: 18 to 19

New Members

The following members have been added:

Name Description
Leadtools.PdfCompressor.PdfCompressorEngine.SegmentImage Optional delegate method for additional processing.
Leadtools.PdfCompressor.PdfCompressorPictureCompression.JpxPic Use JPEG 2000 Part 2 (JPX).
Leadtools.PdfCompressor.PdfCompressorSegmentsInfo.#ctor Initializes a new instance of this class.

Removed Members

The following members have been removed:

Name Description
Leadtools.PdfCompressor.PdfCompressorEngine.raise__segmentImage(object,PdfCompressorSegmentImageEventArgs) Occurs after calling Insert or InsertSegments
Leadtools.PdfCompressor.PdfCompressorEngine.raise_SegmentImage(object,PdfCompressorSegmentImageEventArgs) Occurs after calling Insert or InsertSegments
Leadtools.PdfCompressor.PdfCompressorEngine.SegmentImage Optional delegate method for additional processing.

Version Changes: 17.5 to 18

New Members

The following members have been added to the existing types:

Member Description
Leadtools.PdfCompressor.PdfCompressorEngine.Write(IO.Stream) Writes the created file from memory to a .NET stream.

For more information, refer to New in 18.

Version Changes: 17 to 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 New in 17.5.

The main PDF compressor class, PdfCompressor, has been renamed to PdfCompressorEngine.

Version Changes: 16.5 to 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 have 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 Changes: 16 to 16.5

Version 16.5 has not changed from Version 16

Version Changes: 15 to 16

Version 16 has not changed from Version 15

Version Changes: 14.5 to 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 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
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Imaging, Medical, and Document