Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LTDImageOptimizationInterop - Image Optimization COM Interop

The following table lists .NET functions and provides cross-references to their COM counterparts:

.Net Syntax COM Interop Syntax Related Properties, Events
byte[] OptimizeBuffer(RasterCodecs codecs, byte[] buffer, int offset, int length, ImageOptimizerOptions options, ImageOptimizerProgress progressCallback) void IImageOptimizer.OptimizeBuffer(LTDCodecsInterop.RasterCodecs codecs, Int32 offset, Int32 length, LTDImageOptimizationInterop.ImageOptimizerOptions options) EnableEvent.DisableEvent, void OnImageOptimizerProgress(int percent); LTDInterop.IByteIndexProperty IImageOptimizer.BufferToOptimize, Int32 IImageOptimizer.BufferToOptimizeCount, LTDInterop.IByteIndexProperty IImageOptimizer.OptimizedBuffer, Int32 IImageOptimizer.OptimizedBufferCount
LTDInterop.IByteIndexProperty IImageOptimizer.BufferToOptimize Int32 IImageOptimizer.BufferToOptimizeCount
Int32 IImageOptimizer.BufferToOptimizeCount LTDInterop.IByteIndexProperty IImageOptimizer.BufferToOptimize
LTDInterop.IByteIndexProperty IImageOptimizer.OptimizedBuffer Int32 IImageOptimizer.OptimizedBufferCount
Int32 IImageOptimizer.OptimizedBufferCount LTDInterop.IByteIndexProperty IImageOptimizer.OptimizedBuffer
void OptimizeDirectory(RasterCodecs codecs, string inputDirectory, string outputDirectory, ImageOptimizerOptions options, string fileExtensions, bool includeSubDirectories, ImageOptimizerDirectory directoryCallback) void IImageOptimizer.OptimizeDirectory(LTDCodecsInterop.RasterCodecs codecs, String inputDirectory, String outputDirectory, LTDImageOptimizationInterop.ImageOptimizerOptions options, String fileExtensions, Boolean includeSubDirectories) EnableEvent, DisableEvent, void OnImageOptimizerDirectory(LTDImageOptimizationInterop.ImageOptimizerDirectoryData data);

The following topics provide comparisons between COM functions and their .NET counterparts:

Programming With LEADTOOLS COM Interoperability Functions