Old v17 Type | New v17.5 Type |
---|---|
Leadtools.RasterSupport.Unlock | Leadtools.RasterSupport.SetLicense |
LEADTOOLS V17.5 adds WinRT support for portions of the Leadtools assembly with the new LEADTOOLS WinRT SDK. With Native WinRT binaries for Win32, x64 and ARM, the LEADTOOLS WinRT SDK contains everything a developer needs to create imaging-enabled Windows Store applications. It is available as an add-on to any of the Document or Medical products.
Specifically, LEADTOOLS WinRT includes support for the following image file format filters:
Support has been added for the following vector formats:
The following new members have been added existing types in LEADTOOLS For .NET v17.5:
Member | Description |
---|---|
Leadtools.RasterImageFormat.Cgm | Indicates the Computer Graphics Metafile image file format. |
Leadtools.RasterImageFormat.Cmx | Indicates the Corel Presentation Exchange image file format. |
Leadtools.RasterImageFormat.DcfArw | Indicates the Sony Digital Camera image file format. |
Leadtools.RasterImageFormat.DcfRaf | Indicates the Fujifilm Digital Camera image file format. |
Leadtools.RasterImageFormat.DcfOrf | Indicates the Olympus Digital Camera image file format. |
Leadtools.RasterImageFormat.DcfCr2 | Indicates the Canon Digital Camera image file format. |
Leadtools.RasterImageFormat.DcfNef | Indicates the Nikon Digital Camera image file format. |
Leadtools.RasterImageFormat.DcfRw2 | Indicates the Panasonic Digital Camera image file format. |
Leadtools.RasterImageFormat.DcfCasio | Indicates the Casio Digital Camera image file format. |
Leadtools.RasterImageFormat.ePub | Indicates the Electronic Publication (ePub)file format. |
Leadtools.RasterImageFormat.DcfPentax | Indicates the Pentax Digital Camera image file format. |
Leadtools.RasterImageFormat.Drw | Indicates the DRaWing image file format. |
Leadtools.RasterImageFormat.Dwf | Indicates the DWF file format. |
Leadtools.RasterImageFormat.DwfTextAsPolyline | Indicates the DWF file format. |
Leadtools.RasterImageFormat.Dwfx | Indicates the Autodesk DWF XPS Document (DWFX) file format. |
Leadtools.RasterImageFormat.Dwg | Indicates the DWG file format. |
Leadtools.RasterImageFormat.Dxf | Indicates the Drawing Interchange Format. |
Leadtools.RasterImageFormat.Dxf12 | Indicates the Drawing Interchange Format. |
Leadtools.RasterImageFormat.Dxf13 | Indicates the Drawing Interchange Format. |
Leadtools.RasterImageFormat.E00 | Indicates the ArcInfo Interchange file format. |
Leadtools.RasterImageFormat.Gerber | Indicates the Gerber Format. |
Leadtools.RasterImageFormat.HTM | Indicates the HyperText Markup Language (HTML) file format. |
Leadtools.RasterImageFormat.IcaJpeg | Indicates the IOCA, compressed using JPEG, with MO:DCA wrapper (multipage) file format. |
Leadtools.RasterImageFormat.IcaJpeg411 | Indicates the IOCA, compressed using JPEG 4:1:1, with MO:DCA wrapper (multipage) file format. |
Leadtools.RasterImageFormat.IcaJpeg422 | Indicates the IOCA, compressed using JPEG 4:2:2 with MO:DCA wrapper file format. |
Leadtools.RasterImageFormat.Ing | Indicates the INGR, RGB uncompressed file format. |
Leadtools.RasterImageFormat.IngRle | Indicates the INGR, RLE compressed file format. |
Leadtools.RasterImageFormat.IngAdaptiveRle | Indicates the INGR, Adaptive RLE compressed file format. |
Leadtools.RasterImageFormat.IngG4 | Indicates the INGR, CCITT G4 compressed file format. |
Leadtools.RasterImageFormat.IntergraphVector | Indicates the Intergraph Vector DGN Format. |
Leadtools.RasterImageFormat.Jxr | Indicates the JPEG XR / Microsoft HD Photo File Format. |
Leadtools.RasterImageFormat.JxrGray | Indicates the JPEG XR / Microsoft HD Photo File Format - Grayscale. |
Leadtools.RasterImageFormat.JxrCmyk | Indicates the JPEG XR / Microsoft HD Photo File Format - CMYK. |
Leadtools.RasterImageFormat.Jxr420 | Indicates the JPEG XR / Microsoft HD Photo File Format - YUV 4:2:0. |
Leadtools.RasterImageFormat.Jxr422 | Indicates the JPEG XR / Microsoft HD Photo File Format - YUV 4:2:2. |
Leadtools.RasterImageFormat.Jls | Indicates the JPEG LS file format. |
Leadtools.RasterImageFormat.JlsSample | Indicates the JPEG LS Sample interleaved file format. |
Leadtools.RasterImageFormat.JlsLine | Indicates the JPEG LS Line interleaved file format. |
Leadtools.RasterImageFormat.Mif | Indicates the MapInfo Interchange File format. |
Leadtools.RasterImageFormat.Mob | Indicates the Mobipocket e-Book raster file format. |
Leadtools.RasterImageFormat.Nap | Indicates the NAPLPS format. |
Leadtools.RasterImageFormat.Pcl | Indicates the Printer Command Language format. |
Leadtools.RasterImageFormat.PclXl | Indicates the PCL6 vector format format. |
Leadtools.RasterImageFormat.Mob | Indicates the Mobipocket e-Book raster file format. |
Leadtools.RasterImageFormat.Pub | Indicates the Electronic Publishing Format(EPUB) file format. |
Leadtools.RasterImageFormat.Shp | Indicates the ESRI Shape format. |
Leadtools.RasterImageFormat.Svg | Indicates the Scalable Vector Graphics format. |
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 |
These changes are not listed in the topics below.
The following new types have been added to LEADTOOLS For .NET v17:
Type | Description |
---|---|
LeadPoint |
Stores two integer numbers that represent the coordinates of a point (X and Y). Replacement for System.Drawing.Point. |
LeadSize |
Stores two integer numbers that represents the size (Width and Height). Replacement for System.Drawing.Size. |
LeadRect |
Stores four integer numbers that represent the coordinates and size of a rectangle (X, Y, Width, and Height). Replacement for System.Drawing.Rectangle. |
LeadFillMode |
Specifies how a polygonal shape with crossing lines is filled. Replacement for System.Drawing.Drawing2D.FillMode. |
RasterKnownColor |
Specifies the known system colors. |
RasterRegion |
Describes a region of interests in a Leadtools.RasterImage object. |
RasterColorTypeConverter |
Converts Leadtools.RasterColor objects from one data type to another. |
RasterImageAllocateData | Provides data for the Leadtools.Leadtools.RasterImageAllocateCallback callback. |
The following members have been added to existing types in v17:
The following types have been moved to a new namespace in LEADTOOLS For .NET v17:
New Type | Old Type |
---|---|
Leadtools.Drawing.RasterPaintProperties |
Leadtools.RasterPaintProperties |
Leadtools.Drawing.RasterPaintEngine |
Leadtools.RasterPaintEngine |
Leadtools.Drawing.RasterPaintDisplayModeFlags |
Leadtools.RasterPaintDisplayModeFlags |
Leadtools.Drawing.ConvertToImageOptions |
Leadtools.ChangeToGdiPlusImageFlags |
Leadtools.Drawing.ImageIncompatibleReason |
Leadtools.RasterGdiPlusIncompatibleReason |
Leadtools.Drawing.RasterImageGdiPlusGraphicsContainer |
Leadtools.RasterImageGdiPlusGraphicsContainer |
Leadtools.Drawing.Transformer |
Leadtools.Transformer |
Leadtools.Drawing.RasterPaintCallbacks |
Leadtools.RasterPaintCallbacks |
Leadtools.Drawing.PaintCallbackDelegate |
Leadtools.PaintCallbackDelegate |
Leadtools.Drawing.RasterImagePaintCallbackFunction |
Leadtools.RasterImagePaintCallbackFunction |
Leadtools.Drawing.RasterPaintDibInfo |
Leadtools.RasterPaintDibInfo |
Leadtools.Drawing.RasterPaintDibInfoFlags |
Leadtools.RasterPaintDibInfoFlags |
The following members have been moved to a new type or namespace in LEADTOOLS For .NET v17:
The following classes have been added to LEADTOOLS For .NET v16.5:
Type | Description |
---|---|
Leadtools.RasterPaintDibInfo.Default | Fills the Leadtools.RasterPaintCallbacks. |
Leadtools.RasterPaintDibInfo.BitsPerPixel | Set or get the default bits per pixel of the data expected by the graphics device. |
Leadtools.RasterPaintDibInfo.HighBit | Indicates the high bit of the image data (valid only for grayscale 12 or 16-bit data). |
Leadtools.RasterPaintDibInfo.LowBit | Indicates the low bit of the image data (valid only for grayscale 12 or 16-bit data). |
Leadtools.RasterPaintDibInfo.PlaneCount | Indicates whether the image data should be interleaved or planar. |
Leadtools.RasterPaintDibInfo.Order | Indicates the data order (grayscale, BGR, RGB, etc). |
Leadtools.RasterPaintDibInfo.Flags | Collection of flags indicating the various options for the bitmap. |
Leadtools.RasterPaintDibInfo.ViewPerspective | Indicates the expected orientation of the image data. |
Leadtools.RasterPaintDibInfo.BytesPerline | Gets the expected stride (number of bytes per line). |
Leadtools.RasterPaintCallbacks | The RasterPaintCallbacks class is used to implement custom painting. The Leadtools.RasterImage.PaintCallbacks property contains a list of such classes. |
Leadtools.RasterPaintCallbacks.SetCallback | Adds a callback to the Leadtools.RasterImage.PaintCallbacks member. |
The following members have been added to existing types in v16.5:
Member | Description |
---|---|
Leadtools.RasterImage.GetLookupTable16 | Gets the 16-bit lookup table (LUT) of this Leadtools.RasterImage. |
Leadtools.RasterPalette.WindowLevelFillLookupTableExt | Fills the user-allocated 16-bit LUT with values ranging between the startColor and endColor colors according to the selected LUT type. |
Leadtools.RasterImage.PaintCallbacks | Gets the list of Leadtools.RasterPaintCallbacks objects containing the custom callbacks. |
Leadtools.RasterImage.SetLookupTable16 | Sets the 16-bit lookup table (LUT) of this Leadtools.RasterImage. |
Leadtools.RasterImage.IsDisposed | Gets a value indicating whether the Leadtools.RasterImage object has been disposed of. |
Leadtools.RasterImage.SetUserData | Sets the data for the image to the specified unmanaged memory buffer. |
Leadtools.RasterImage.WindowLevelExt | Sets up the paint or paint and image processing methods' window leveling options for this Leadtools.RasterImage. |
Leadtools.RasterBufferConverter.Convert | Converts data in the specified buffer to the specified bits per pixel and color order. |
Leadtools.RasterPalette.WindowLevelFillLookupTableExt | Fills the user-allocated 16-bit LUT with values ranging between the startColor and endColor colors according to the selected LUT type. |
Leadtools.RasterImageFormat.AfpIm1 | AFP Format IOCA MMR Compressed |
Leadtools.RasterImageFormat.Tdb | Windows XP Thumbnail Cache |
Leadtools.RasterImageFormat.Xls | Microsoft Excel 2003 file format |
Leadtools.RasterImageFormat.TdbVista | Windows Vista Thumbnail Cache |
Leadtools.RasterImageFormat.Snp | Microsoft Access Report Snapshot |
Leadtools.RasterSupportType.OcrProfessionalAsian | Support for the OCR Professional engine to recognize Asian text. This license is in addition to the cost of the OCR Plugin or Document Imaging. |
Leadtools.RasterSupportType.MedicalServer | Support for PACS (DICOM Server) functionality. Available in selected LEADTOOLS products. |
Leadtools.RasterSupportType.PrintDriver | Support for LEADTOOLS Printer Driver functionality. Available in selected LEADTOOLS products. |
Leadtools.RasterSupportType.DocumentWriters | Support for LEADTOOLS Document Writer functionality. Available in selected LEADTOOLS products. |
Leadtools.RasterSupportType.LeadOmr | Support for the OMR features provided by the LEADTOOLS OMR engine. OMR add-on to Document and Medical Imaging toolkits. |
Leadtools.RasterSupportType.MediaWriter | Support for Data DVD Writing. Available in selected LEADTOOLS products. |
Leadtools.RasterSupportType.DocumentWritersPdf | Support for PDF output when using the LEADTOOLS Document Writer functionality. Available in selected LEADTOOLS products. |
Leadtools.RasterSupportType.Medical3d | Support for Medical 3D functionality. Available in selected LEADTOOLS products. |
Leadtools.RasterExceptionCode.ChannelMissing | The PSD Channel is missing. |
Leadtools.RasterExceptionCode.RawCodecMissing | RAW codec is missing. |
Leadtools.RasterExceptionCode.BmpCodecMissing | BMP codec is missing. |
Leadtools.RasterExceptionCode.PngCodecMissing | PNG codec is needed to use this method. |
Leadtools.RasterExceptionCode.FileCreate | Error creating file. |
Leadtools.RasterExceptionCode.DocumentWritersPdfNotEnabled | Document Writer PDF support is locked. |
Leadtools.RasterExceptionCode.LeadPrinterNotEnabled | LEADTOOLS Printer Driver capability is required to use this function. |
Leadtools.RasterExceptionCode.MediaWriterNotEnabled | Media writer capability is required to use this method. |
Leadtools.RasterExceptionCode.DocumentWritersNotEnabled | Document Writers capability is required to use this method. |
Leadtools.RasterExceptionCode.InvalidDib | The DIB is invalid. |
Leadtools.RasterExceptionCode.InvalidLutLength | The LUT length is invalid. LUT Length should be 1 << (Leadtools.RasterImage.HighBit - Leadtools.RasterImage.LowBit + 1) |
Leadtools.RasterExceptionCode.ClrCodecMissing | Leadtools.ColorConversion.dll assembly is not loaded. |
Leadtools.ImageProcessing.CloneCommand.AllPages | Gets or sets a value that indicates whether to clone all the pages if the source image is multi-page. |
Leadtools.ImageProcessing.CloneCommand.SourceImage | Gets the source image used in this CloneCommand. |
Leadtools.RasterImage.CreateThumbnail | Creates a thumbnail image of this Leadtools.RasterImage. |
Leadtools.RasterImage.GetPaintLookupTable16 | Gets the 16-bit lookup table (LUT) of this Leadtools.RasterImage. |
Leadtools.RasterImage.GetGdiPlusRegionData | Gets the GDI+ data that describes the image region. |
Leadtools.RasterImage.AddGdiPlusDataToRegion | Creates or updates the image region using the specified GDI+ region data. |
Leadtools.ImageProcessing.ColorResolutionCommand.InitAlpha | Indicates whether to initialize the alpha channel values when converting to 32 or 64-bit images. |
The following Events have been added to LEADTOOLS for .NET v16.5:
Event | Description |
---|---|
Leadtools.RasterImage.Disposed | Occurs when the image is disposed by a call to the Leadtools.RasterImage.Dispose method. |
The following Structures have been added to LEADTOOLS for .NET v16.5:
Structure | Description |
---|---|
Leadtools.RasterColor16.MaximumComponent | Maximum value for the alpha, red, green, blue component. |
Leadtools.RasterColor16.MinimumComponent | Maximum value for the alpha, red, green, blue component. |
Leadtools.RasterColor16.B | Gets or sets the blue component of this Leadtools.RasterColor16 structure. |
Leadtools.RasterColor16.G | Gets or sets the green component of this Leadtools.RasterColor16 structure. |
Leadtools.RasterColor16.R | Gets or sets the red component of this Leadtools.RasterColor16 structure. |
Leadtools.RasterColor16.ToString | Overridden. Converts this Leadtools.RasterColor16 structure to a human-readable string. |
The following Delegates have been added to LEADTOOLS for .NET v16.5:
Delegate | Description |
---|---|
Leadtools.PaintCallbackDelegate | The prototype for all the Leadtools.RasterPaintCallbacks. |
The following enumerations have been added in LEADTOOLS for .NET v16.5:
Enumeration | Description |
---|---|
Leadtools.RasterImagePaintCallbackFunction | Used to identify the callbacks in a Leadtools.RasterPaintCallbacks class. |
Leadtools.RasterPaintDibInfoFlags | Collection of flags indicating the various options for the bitmap. |
The following Members have been changed in LEADTOOLS for .NET v16.5:
Member | Changes in v16.5 |
---|---|
Leadtools.RasterImageResize.ResizeBuffer | Parameter byte changed to Int64. |
Leadtools.RasterImage(RasterMemoryFlags flags,int width,int height,int bitsPerPixel,RasterByteOrder order,RasterViewPerspective viewPerspective,RasterColor[] palette,IntPtr userData,long userDataLength) | Parameter userDataLength changed to 64 bit signed integer. |
Leadtools.RasterImage.SetUserData | Parameter size changed to Int64. |
Leadtools.RasterNativeBuffer.Length | Method return type changed to Int64. |
Leadtools.RasterImage.CalculateRegionArea | Method return type changed to Int64. |
Leadtools.RasterImage.DataSize | Method return type changed to Int64. |
Leadtools.RasterMemoryThreshold.MaximumConventionalSize | Method return type changed to Int64. |
The following types are being deprecated as of LEADTOOLS for .NET v16.5:
Type | Description |
---|---|
RasterImageFormat.Sid Deprecated - No longer supported. | MrSid Format (SID) |
The following classes have been added to LEADTOOLS For .NET v16:
Type | Description |
---|---|
RasterImageAnimator | Creates an animation playback that references a multi-frame image and the target image. |
Type | Description |
---|---|
Leadtools.RasterPaintSizeMode enumeration | Determines how to fit the image in the destination rectangle |
RasterPaintSizeMode enumeration | Determines how to align the image in the destination rectangle |
RasterCurve class | Defines a curve |
RasterCurveType enumeration | Indicates the type of curve defined |
RasterCurveClose enumeration | Indicates how the curve is closed |
RasterMemoryThreshold structure | Holds the memory restrictions used when allocating new RasterImage objects |
RasterDefaults class | Specifies the default extra values used when creating RasterImage objects. |
The following members have been added to existing types in v15:
Member | Description |
---|---|
RasterImage.SetUserData | Sets the data for the image to the specified unmanaged memory buffer |
RasterImage.AddGdiRegionToRegion | Creates or updates the image region by adding the specified Windows region handle |
RasterImage.AddCurveToRegion | Creates or updates the image region by adding a curved region |
RasterImage.IsSuperCompressed | Determines if the memory allocated for the image data is super-compressed memory |
RasterImage.IsGlobalMemory | Determines if the memory allocated for the image data is a global Windows handle |
RasterImage.Access | Provides exclusive access to the image data contained in this Leadtools.RasterImage |
RasterImage.Release | Releases memory locked with Access back to the system |
RasterImage.CopyData | Updates the data of this Leadtools.RasterImage |
RasterImage.GetPaintHPalette | Returns a Windows palette handle corresponding to this Leadtools.RasterImage if painted on the given device context |
RasterImage.CalculatePaintModeRectangle | Adjusts the given rectangle based on the given paint mode properties |
RasterImage.ChangeFromDib | Changes a Windows device independent bitmap (DIB) to a LEAD Leadtools.RasterImage object. |
RasterImage.ChangeFromEmf Changed in Version 17 | Changes a Windows enhanced metafile (EMF) into a LEAD Leadtools.RasterImage object and, if successful, frees the enhanced metafile. |
RasterImage.ChangeFromHBitmap | Overloaded. Changes a Windows device dependent bitmap (DDB) to a LEAD Leadtools.RasterImage object. |
RasterImage.ChangeFromWmf | Changes a Windows metafile (WMF) into a LEAD Leadtools.RasterImage object and, if successful, frees the metafile. |
RasterImage.ChangeToDib | Changes a LEAD Leadtools.RasterImage object to a Windows Device Independent Bitmap (DIB). |
RasterImage.ChangeToEmf | Changes a LEAD Leadtools.RasterImage object into a Windows enhanced metafile (EMF) and, if successful, frees the image data. |
RasterImage.ChangeToHBitmap | Changes a LEAD Leadtools.RasterImage object to a Windows Device Dependent Bitmap (DDB). |
RasterImage.ChangeToWmf | Changes a LEAD Leadtools.RasterImage object into a Windows metafile (WMF) and, if successful, frees the image data. |
RasterImage.FromEmf | Converts an enhanced Windows metafile (EMF) into a LEAD Leadtools.RasterImage object. |
RasterImage.FromWmf | Converts a Windows metafile (WMF) into a LEAD RasterImage object. |
RasterImage.ToEmf | Converts a LEAD Leadtools.RasterImage object into a Windows enhanced metafile (EMF). |
RasterImage.ToWmf | Converts a LEAD Leadtools.RasterImage object into a Windows metafile (WMF). |
RasterExceptionCode.SuccessPartialFailure | Method called recursively. A least one call was successful, but some failed |
RasterExceptionCode.SuccessDelete | Successful. Delete the file before quitting |
RasterExceptionCode.InvalidPixBufferDimensions | Internal error - call LEAD |
RasterExceptionCode.Internal | Internal error |
RasterExceptionCode.DxfCodecMissing | The DXF codec is needed to use this function |
RasterExceptionCode.BufferTooSmall | The buffer size is too small |
RasterExceptionCode.SuccessRetry | Successful. Retry doing the failed op |
RasterExceptionCode.NitfLocked | NITF support is locked |
RasterExceptionCode.InvalidTileDimension | Internal error - call LEAD |
RasterExceptionCode.VectorKernelMissing | Vector kernel DLL is needed to use this function |
RasterExceptionCode.Gray32Unsupported | 32-bit Grayscale images not supported |
RasterExceptionCode.CompactAborted | The compact method was finished without copying all the pages |
RasterExceptionCode.ExtensionsMissing | This file does not contain Exif extensions |
RasterExceptionCode.SuccessAbort | Method successful. You can quit now |
RasterExceptionCode.Jb2CodecMissing | JB2 (JBIG2) codec is needed to use this function |
RasterCompression.Super | Image data is compressed in memory using LEAD proprietary compression |
RasterConvertBufferFlags.AlphaInit | Initialize the alpha values when destination buffer is 32 or 64 bits/pxiel |
RasterHsvColor.Empty | Represents an RasterHsvColor that is a null reference (Nothing in Visual Basic). |
RasterImageChangedFlags.UsePaintLookupTable | Use of paint palette lookup table (LUT) changed |
RasterImageChangedFlags.Format | Format changed |
RasterMetadataFlags.All | All (Comments, Tags, Markers and GeoKeys) |
RasterCommentMetadataType.PatientSex | Patient sex (DICOM) |
RasterCommentMetadataType.StudyInstance | Study instance ID (DICOM) |
RasterCommentMetadataType.PatientName | Patient name (DICOM) |
RasterCommentMetadataType.PatientId | Patient ID (DICOM) |
RasterCommentMetadataType.SeriesId | Series ID (DICOM) |
RasterCommentMetadataType.SeriesModality | Series modality (DICOM) |
RasterCommentMetadataType.StudyTime | Study time (DICOM) |
RasterCommentMetadataType.StudyReferringPhysician | Referring physician (DICOM) |
RasterCommentMetadataType.StudyDate | Study date (DICOM) |
RasterCommentMetadataType.PatientBirthdate | Patient birth date (DICOM) |
RasterCommentMetadataType.SeriesNumber | Series number (DICOM) |
CombineFastCommandFlags.None | No change |
RasterSupportType.Mobile | Support for the Compact Framework mobile features |
RasterSupportType.Ntif | Support for NITF plug in. This feature is not available in LEADTOOLS for .NET |
RasterImageFormat.TifxJpeg | Xerox Internet Fax File Format |
RasterImageFormat.TifxJbigT43Gs | Xerox Internet Fax File Format |
RasterImageFormat.TifxFaxG31D | Xerox Internet Fax File Format |
RasterImageFormat.TifxJbig | Xerox Internet Fax File Format |
RasterImageFormat.TifxFaxG32D | Xerox Internet Fax File Format |
RasterImageFormat.TifxJbigT43ItuLab | Xerox Internet Fax File Format |
RasterImageFormat.TifxJbigT43 | Xerox Internet Fax File Format |
RasterImageFormat.TifxFaxG4 | Xerox Internet Fax File Format |
RasterImageFormat.Pct | Macintosh Pict Format (PCT) |
RasterImageFormat.Fpx | Kodak Formats (PCD and FPX) |
RasterImageFormat.FpxSingleColor | Kodak Formats (PCD and FPX) |
RasterImageFormat.FpxJpegQFactor | Kodak Formats (PCD and FPX) |
RasterImageFormat.FpxJpeg | Kodak Formats (PCD and FPX) |
RasterImageFormat.DicomJ2kGray | DICOM Format (DIC) |
RasterImageFormat.DicomJ2kColor | DICOM Format (DIC) |
RasterImageFormat.DicomRleGray | DICOM Format (DIC) |
RasterImageFormat.DicomRleColor | DICOM Format (DIC) |
RasterImageFormat.DicomJpegColor | DICOM Format (DIC) |
RasterImageFormat.DicomGray | DICOM Format (DIC) |
RasterImageFormat.DicomColor | DICOM Format (DIC) |
RasterImageFormat.DicomJpegGray | DICOM Format (DIC) |
RasterImageFormat.Wmz | Compressed Windows Metafile Format (WMZ) |
RasterImageFormat.Sid Deprecated - No longer supported. | MrSid Format (SID) Deprecated - No longer supported. |
LEADTOOLS For .NET Class Library uses the new .NET 2.0 generic event handler delegate module.
The following shows how to subscribe to an event in LEADTOOLS v.14.5 and LEADTOOLS v.15:
Version 14.5 | Version 15 |
---|---|
// Subscribe to the Changed event of RasterImage myRasterImage.Changed += new RasterImageChangedEventHandler(myRasterImage_Changed) void myRasterImage_Changed(object sender, RasterImageChangedEventArgs e) { // handle the event } |
// Subscribe to the Changed event of RasterImage myRasterImage.Changed += new EventHandler<RasterImageChangedEventArgs>(myRasterImage_Changed) void myRasterImage_Changed(object sender, RasterImageChangedEventArgs e) { // handle the event } |
The following table lists the delegate types that have been removed in v.15:
Version 14.5 | Version 15 |
---|---|
RasterImageChangedEventHandler | EventHandler<Leadtools.RasterImageChangedEventArgs > |
RasterImageResizeEventHandler | EventHandler<Leadtools.RasterImageResizeEventArgs > |
RasterCommandProcessorProgressEventHandler | EventHandler<Leadtools.ImageProcessing.RasterCommandProcessorProgressEventArgs > |
RasterCommandProgressEventHandler | EventHandler<Leadtools.ImageProcessing.RasterCommandProgressEventArgs > |
ColorResolutionCommandDataEventHandler | EventHandler<Leadtools.ImageProcessing.ColorResolutionCommandDataEventArgs > |
All collection types use the new .NET 2.0 generic collection module. The base RasterCollection class in v.14.5 has been replaced with a Generic RasterCollection class from which all other collection classes in v.15 derive.
The following table lists the collection classes that have been removed in v.15:
Version 14.5 | Version 15 |
---|---|
RasterCollection | RasterCollection<T> |
RasterCollectionEventHandler | EventHandler< RasterCollectionEventArgs> |
RasterCollectionEventArgs | RasterCollectionEventArgs<T> |
RasterImageCollection | RasterCollection<RasterImage > |
RasterTagMetadataCollection | RasterCollection<RasterTagMetadata > |
RasterCommentMetadataCollection | RasterCollection<RasterCommentMetadata > |
RasterMarkerMetadataCollection | RasterCollection<RasterMarkerMetadata > |
RasterCommandCollection | RasterCollection<> |
RasterPointCollection | RasterCollection<Point > |
Support for creating Leadtools.RasterImage objects with managed data has been removed. The data is now converted to an internal undefined memory allocated by LEADTOOLS. All "Managed" and "Unmanaged" memory models have been renamed "Conventional".
All methods that accept a managed array of primitive types have been overloaded with a version that accepts a native unmanaged memory buffer (System.IntPtr). For example, the RasterImage.GetRow method has the following overloads now:
Method | Description |
---|---|
int GetRow(int row, byte[] buffer, int bufferIndex, int bufferCount) |
Retrieves a row or more of image data from this into a managed memory buffer |
int GetRow(int row, IntPtr buffer, int bufferCount) |
Retrieves a row or more of image data from this into un unmanaged memory buffer |
The following table lists all the methods that have been overloaded with a version that accepts a pointer to unmanaged memory:
Some of the methods that accepts a .NET System.Drawing.Graphics object have been overloaded with a version that accepts a Windows GDI handle. The following table lists all these methods:
Class | Method |
---|---|
Leadtools.RasterImage | RasterImage.Paint |
Leadtools.RasterImage | RasterImage.PaintBuffer |
Leadtools.RasterImage | RasterImage.PaintRegionBuffer |
Leadtools.RasterImage | RasterImage.PaintRegion |
Leadtools.RasterImage | RasterImage.PaintCmykPlanes |
Leadtools.RasterImage | RasterImage.PaintOverlay |
Leadtools.RasterImage | RasterImage.FrameRegion |
Leadtools.RasterImage | RasterImage.FillRegion |
The IRasterImage interface has been removed. You should use the Leadtools.RasterImage class instead.
The following types have been removed in v.15:
Type | Description |
---|---|
IRasterImage interface | Use Leadtools.RasterImage instead |
RasterImageCreateParameters structure | Use Leadtools.RasterImage constructor with Leadtools.RasterDefaults class instead |
UnmanagedMemoryStream class | This class has been removed |
DrawingHelper class | This class has been removed |
The following types have been renamed in v.15:
Version 14.5 | Version 15 |
---|---|
RasterGrayScaleMode enumeration | Leadtools.RasterGrayscaleMode |
RasterWindowLevelFlags enumeration | Leadtools.RasterWindowLevelMode |
GrayScaleCommand class | GrayscaleCommand |
RasterBuffer class | Leadtools.RasterNativeBuffer |
The following members have been removed in v.15:
Member | Description |
---|---|
RasterImage.InternalImage | Internal use member removed |
RasterImage.GetInternalImageByIndex | Internal use member removed |
RasterImage.GetInternalImageCollection | Internal use member removed |
RasterImage.SetInternalFlag | Internal use member removed |
RasterImage.IsAllocated | Internal use member removed |
RasterImage.CreateFromInternalData | Internal use member removed |
RasterImage.ToggleCompression | Use RasterImage.ChangeCompression instead |
RasterPaintProperties.UseDpi | Internal use member removed |
RasterPaintProperties.UseClipWithGdiEngine | Internal use member removed |
RasterExceptionCode.OpeningProfile | Internal use member removed |
RasterExceptionCode.CrcCheck | Internal use member removed |
RasterExceptionCode.UnequalTables | Internal use member removed |
RasterExceptionCode.UnsupportedConversion | Internal use member removed |
RasterExceptionCode.PrematureEol | Internal use member removed |
RasterExceptionCode.VideoType | Internal use member removed |
RasterExceptionCode.InvalidSegmentData | Internal use member removed |
RasterExceptionCode.G3CodeEof | Internal use member removed |
RasterExceptionCode.BadTiffTagValue | Internal use member removed |
RasterExceptionCode.MrcNotAllocated | Internal use member removed |
RasterExceptionCode.ActionIncomplete | Internal use member removed |
RasterExceptionCode.PrematureEof | Internal use member removed |
RasterExceptionCode.EntensionsMissing | Internal use member removed |
RasterExceptionCode.InvalidString | Internal use member removed |
RasterExceptionCode.TruncateHeight | Internal use member removed |
RasterExceptionCode.CuNotSupported | Internal use member removed |
RasterExceptionCode.PdfBadInitializationFiles | Internal use member removed |
RasterExceptionCode.NoProfile | Internal use member removed |
RasterExceptionCode.UndoDisabled | Internal use member removed |
RasterExceptionCode.IccUnknownTagAndType | Internal use member removed |
RasterExceptionCode.TiffCommandNotAllowed | Internal use member removed |
RasterExceptionCode.InvalidColorProfile | Internal use member removed |
RasterExceptionCode.PdfInvalidPassword | Internal use member removed |
RasterExceptionCode.DecodingProfile | Internal use member removed |
RasterExceptionCode.CorruptProfile | Internal use member removed |
RasterExceptionCode.TruncateWidthAndHeight | Internal use member removed |
RasterExceptionCode.Printer | Internal use member removed |
RasterExceptionCode.InvalidPixelBufferDimensions | Internal use member removed |
RasterExceptionCode.PaintNotEnabled | Internal use member removed |
RasterExceptionCode.IccImageNotSupported | Internal use member removed |
RasterExceptionCode.UndoStackEmpty | Internal use member removed |
RasterExceptionCode.PdfJpegNotEnabled | Internal use member removed |
RasterExceptionCode.InvalidVariantType | Internal use member removed |
RasterExceptionCode.G3CodeEol | Internal use member removed |
RasterExceptionCode.IccUnknownTag | Internal use member removed |
RasterExceptionCode.PdfFontsDirectoryNotFound | Internal use member removed |
RasterExceptionCode.InvalidSegmentHandle | Internal use member removed |
RasterExceptionCode.InternetNotEnabled | Internal use member removed |
RasterExceptionCode.PdfCannotEditFile | Internal use member removed |
RasterExceptionCode.TruncateWidth | Internal use member removed |
RasterExceptionCode.TargaInstall | Internal use member removed |
RasterExceptionCode.InvalidTileDimensions | Internal use member removed |
RasterExceptionCode.InvalidMinimumSegment | Internal use member removed |
RasterExceptionCode.UnsupportedMethod | Internal use member removed |
RasterExceptionCode.AnnotationLocked | Internal use member removed |
RasterExceptionCode.G3CodeInvalid | Internal use member removed |
RasterExceptionCode.IccUnknownType | Internal use member removed |
RasterExceptionCode.NotMultiPageTiffFile | Internal use member removed |
RasterExceptionCode.UncompleteEof | Internal use member removed |
RasterExceptionCode.PdFInvalidDocumentStructuringComments | Internal use member removed |
RasterExceptionCode.BrowseFailed | Internal use member removed |
RasterExceptionCode.Not256Color | Internal use member removed |
RasterExceptionCode.InvalidLayerData | Internal use member removed |
RasterExceptionCode.InvalidTargetFile | Internal use member removed |
RasterExceptionCode.ColorConversionDllNotLoaded | Internal use member removed |
RasterExceptionCode.PdfBadContent | Internal use member removed |
RasterExceptionCode.YOrigin | Internal use member removed |
RasterExceptionCode.PdfFileEncrypted | Internal use member removed |
RasterExceptionCode.NoNonplanarVerticalSubsamplingSupported | Internal use member removed |
RasterExceptionCode.InvalidDispatch | Internal use member removed |
RasterExceptionCode.SegmentationFailure | Internal use member removed |
RasterExceptionCode.MrcInvalidPage | Internal use member removed |
RasterExceptionCode.HeaderDataFailure | Internal use member removed |
RasterExceptionCode.PlanarAlignmentNotSupported | Internal use member removed |
RasterExceptionCode.InvalidFormat | Internal use member removed |
RasterExceptionCode.XOrigin | Internal use member removed |
RasterExceptionCode.FixedPaletteData | Internal use member removed |
RasterExceptionCode.InvalidSourceFile | Internal use member removed |
RasterExceptionCode.NoUndoStack | Internal use member removed |
RasterExceptionCode.DeleteTiffFileNotAllowed | Internal use member removed |
RasterExceptionCode.InvalidIccProfile | Internal use member removed |
RasterExceptionCode.PdfFaxNotEnabled | Internal use member removed |
RasterExceptionCode.LoadFontData | Internal use member removed |
RasterExceptionCode.UvNotMultiples | Internal use member removed |
RasterRegionXForm.InternalXForm | Internal use member removed |
RasterCommand.InitializeStatusCallback | Internal use member removed |
RasterException.SetCodeMessage | Internal use member removed |
RasterException.CheckErrorCode | Internal use member removed |
RasterSupportType.Pdf | Use RasterSupportType.PdfRead or RasterSupportType.PdfSave instead |
RasterSupportType.TifLzw | LZW compression support has been unlocked in v.15 |
RasterSupportType.GifLzw | LZW compression support has been unlocked in v.15 |
RasterPaletteWindowLevelFlags.Dicom | Use the other flags of Leadtools.RasterPaletteWindowLevelFlags instead. |
RasterPaletteWindowLevelFlags.Unsigned | Use the other flags of Leadtools.RasterPaletteWindowLevelFlags instead. |
The following members have been renamed in v.15:
Version 14.5 | Version 15 |
---|---|
RasterExceptionCode.InvalidAcCodeTable | RasterExceptionCode.InvalidACCodeTable |
RasterExceptionCode.TooManyDcCodeTables | RasterExceptionCode.TooManyDCCodeTables |
RasterExceptionCode.InvalidDcCodeTable | RasterExceptionCode.InvalidDCCodeTable |
RasterExceptionCode.TooManyAcCodeTables | RasterExceptionCode.TooManyACCodeTables |
RasterExceptionCode.EextensionsMissing | RasterExceptionCode.ExtensionsMissing |
RasterExceptionCode.CuBusy | RasterExceptionCode.CUBusy |
RasterExceptionCode.CuFailure | RasterExceptionCode.CUFailure |
RasterExceptionCode.InvalidAcCodeTable | RasterExceptionCode.InvalidACCodeTable |
RasterImageUnderlayFlags.Tile | RasterImageUnderlayFlags.None |
RasterConvertBufferFlags.DestUseBits | RasterConvertBufferFlags.DestinationUseBits |
RasterConvertBufferFlags.DestGray | RasterConvertBufferFlags.DestinationGray |
RasterConvertBufferFlags.SrcUseBits | RasterConvertBufferFlags.SourceUseBits |
RasterConvertBufferFlags.SrcGray | RasterConvertBufferFlags.SourceGray |
RasterImageInformationFlags.ManagedTiles | RasterImageInformationFlags.ConventionalTiles |
RasterSizeFlags.Normal | RasterSizeFlags.None |
RasterImageChangedFlags.UseLookupTablePalette | UseLookupTablePalette.UseLookupTable |
RasterCommentMetadataType.GpsDestLongitudeRef | RasterCommentMetadataType.GpsDestinationLongitudeRef |
RasterCommentMetadataType.FocalLengthin35MmFilm | RasterCommentMetadataType.FocalLengthIn35MMFilm |
RasterCommentMetadataType.GpsDestLongitude | RasterCommentMetadataType.GpsDestinationLongitude |
RasterCommentMetadataType.GpsDestBearingRef | RasterCommentMetadataType.GpsDestinationBearingRef |
RasterCommentMetadataType.GpsTimeStamp | RasterCommentMetadataType.GpsTimestamp |
RasterCommentMetadataType.OptoelectricCoefficient | RasterCommentMetadataType.OptoElectricCoefficient |
RasterCommentMetadataType.GpsDestLatitudeRef | RasterCommentMetadataType.GpsDestinationLatitudeRef |
RasterCommentMetadataType.GpsDestLatitude | RasterCommentMetadataType.GpsDestinationLatitude |
RasterCommentMetadataType.GpsDestDistance | RasterCommentMetadataType.GpsDestinationDistance |
RasterCommentMetadataType.GpsDestDistanceRef | RasterCommentMetadataType.GpsDestinationDistanceRef |
RasterCommentMetadataType.SubsecTimeOriginal | RasterCommentMetadataType.SubSecTimeOriginal |
RasterCommentMetadataType.GpsDestBearing | RasterCommentMetadataType.GpsDestinationBearing |
RasterCommentMetadataType.SubsecTimeDigitized | RasterCommentMetadataType.SubSecTimeDigitized |
RasterCommentMetadataType.SubsecTime | RasterCommentMetadataType.SubSecTime |
RasterSupportType.BarcodesQrWrite | RasterSupportType.BarcodesQRWrite |
RasterSupportType.Barcodes2dWrite | RasterSupportType.BarcodesQRWrite |
RasterSupportType.Barcodes1dSilver | RasterSupportType.Barcodes1DSilver |
RasterSupportType.Barcodes1d | RasterSupportType.Barcodes1D |
RasterSupportType.BarcodesDatamatrixRead | RasterSupportType.BarcodesDataMatrixRead |
RasterSupportType.BarcodesDatamatrixWrite | RasterSupportType.BarcodesDataMatrixWrite |
RasterSupportType.BarcodesQrRead | RasterSupportType.BarcodesQRRead |
RasterSupportType.Barcodes2dRead | RasterSupportType.Barcodes2DRead |
RasterImageMemoryInformation.ManagedTiles | RasterImageMemoryInformation.ConventionalTiles |
RasterOverlayAttributes.ROIArea | RasterOverlayAttributes.RoiArea |
RasterOverlayAttributes.ROIMean | RasterOverlayAttributes.RoiMean |
RasterOverlayAttributes.ROIStandardDeviation | RasterOverlayAttributes.RoiStandardDeviation |
RasterOverlayAttributes.NumFramesInOverlay | RasterOverlayAttributes.FramesInOverlay |
RasterImageFormat.CcittGroup4 | RasterImageFormat.CcittGroup4 |
RasterImageFormat.Ccitt | RasterImageFormat.Ccitt |
RasterImageFormat.CcittGroup31Dim | RasterImageFormat.CcittGroup31Dim |
RasterImageFormat.CcittGroup32Dim | RasterImageFormat.CcittGroup32Dim |
RasterImageFormat.PostScript | RasterImageFormat.Postscript |
RasterImageFormat.EpsPostScript | RasterImageFormat.EpsPostscript |
RasterImageFormat.JpegLab444 | RasterImageFormat.JpegLab |
CombineFastCommandFlags.OperationAnd | CombineFastCommandFlags.None |
CombineFastCommandFlags.ResultNop | CombineFastCommandFlags.None |
CombineFastCommandFlags.SourceNop | CombineFastCommandFlags.None |
CombineFastCommandFlags.DestinationNop | CombineFastCommandFlags.None |
RasterImage.IsManagedMemory | RasterImage.IsConventionalMemory |
RasterImage.IsUnmanagedMemory | RasterImage.IsConventionalMemory |
RasterImage.IsSigned | RasterImage.Signed |
RasterImage.GrayScaleMode | RasterImage.GrayscaleMode |
RasterImage.SetOverlayAttributes | RasterImage.UpdateOverlayAttributes |
RasterImage.FromHbitmap | RasterImage.FromHBitmap Changed in Version 17 |
RasterImage.ToHbitmap | RasterImage.ToHBitmap |
RasterMemoryFlags.Managed | RasterMemoryFlags.Conventional |
RasterMemoryFlags.Unmanaged | RasterMemoryFlags.Conventional |
The following properties have changed into methods in v.15:
Version 14.5 | Version 15 |
---|---|
RasterImage.Palette | RasterImage.GetPalette and RasterImage.SetPalette |
RasterImage.LookupPalette | RasterImage.GetLookupTable and RasterImage.SetLookupTable |
RasterImage.PaintLookupTable | RasterImage.GetPaintLookupTable and RasterImage.SetPaintLookupTable |
RasterPalette.Netscape | RasterPalette.Netscape |
RasterCommentMetadata.Data | RasterCommentMetadata.GetData and RasterCommentMetadata.SetData |
RasterMarkerMetadata.Data | RasterMarkerMetadata.GetData and RasterMarkerMetadata.SetData |
ColorResolutionCommand.Palette | ColorResolutionCommand.GetPalette and ColorResolutionCommand.SetPalette |
RasterTagMetadata.Data | RasterTagMetadata.GetData and RasterTagMetadata.SetData |
CombineWarpCommand.DestinationPoints | CombineWarpCommand.GetDestinationPoints and CombineWarpCommand.SetDestinationPoints |
The following methods have changed into properties in v.15:
Version 14.5 | Version 15 |
---|---|
RasterImage.GetOverlayCount | RasterImage.OverlayCount |
The following types have been moved into a different namespace:
Version 14.5 | Version 15 |
---|---|
Leadtools.Helpers.Transformer | Leadtools.Transformer |
Leadtools.RasterUserMatchTable | Leadtools.ImageProcessing.RasterUserMatchTable |