LEADTOOLS Windows Forms Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.22
Leadtools.WinForms Assembly Changes

Version 17 changes

Version 16.5 changes

Version 16 changes

Version 15 changes

Leadtools.WinForms Assembly Changes from Version 16.5 to Version 17

Version 17 has not changed from Version 16.5. For more information, refer to http://www.leadtools.com/corporate/new-in-v17.htm

Leadtools.WinForms Assembly Changes from Version 16 to Version 16.5

For more information, refer to http://www.leadtools.com/Home2/general/new-in-v16_5.htm

New Classes and Enumerations

The following classes and enumerations have been added to LEADTOOLS For .NET v16.5:

Member Description
RasterImageListItem.FilePageNumber Gets the file page number for the RasterImageListItem if this item represent a single page is a multi page file.
RasterImageListItem.FileTotalPages Gets the total number of pages a multi page file.
RasterThumbnailBrowserLoadThumbnailEventArgs.Page The total number of pages in the file to load.
RasterThumbnailBrowserLoadThumbnailEventArgs.TotalPages The page number in the file to load.
RasterImagePrinter.OnUseDpiChanged(System.EventArgs) Raises the UseDpiChanged event.
RasterImagePrinter.OnUseMarginsChanged(System.EventArgs) Raises the UseMarginsChanged event.
RasterImagePrinter.PrintDocument Gets or sets the PrintDocument object associated with this print job.
RasterImagePrinter.UseDpiChanged Occurs when the value of the UseDpi property changes.
RasterImagePrinter.UseMargins Gets or sets a value that indicates whether to use the page margins when printing.
RasterImagePrinter.UseMarginsChanged Occurs when the value of the UseMargins property changes.
RasterThumbnailBrowserLoadThumbnailEventArgs.#ctor(Leadtools.WinForms.RasterImageListItem,System.String,System.Int32,System.Int32,System.Int32,System.Int32) Initializes a new instance of the RasterThumbnailBrowserLoadThumbnailEventArgs class with the given values.
Leadtools.WinForms.RasterThumbnailBrowserLoadThumbnailEventArgs.TotalPages The total number of pages in the file to load.
Leadtools.WinForms.RasterThumbnailBrowserLoadThumbnailEventArgs.Page The page number in the file to load.
Leadtools.WinForms.RasterThumbnailBrowserLoadFlags.AllDirectories Load image files in current directory and all subdirectories. If this flag is not set only image files in the current directory will be loaded.
Leadtools.WinForms.RasterThumbnailBrowserLoadFlags.ExpandMultiPageFile A RasterImageListItem will be created and added to the RasterThumbnailBrowser for each page found in the image file if it is a multipage file.
Leadtools.WinForms.RasterThumbnailBrowserLoadFlags.LoadThumbnails Browses the specified directory for supported images, and generates thumbnails for each image file that is found.

Leadtools.WinForms Assembly Changes from Version 15 to Version 16

New Classes and Enumerations

The following classes and enumerations have been added to LEADTOOLS For .NET v16:

Member Description
RasterPictureBox Class used to display graphics from a bitmap, metafile, icon, JPEG, GIF or PNG file (or any other image file format supported by LEADTOOLS). Although it does not support scrolling or zooming, it does support animation with the RasterImageAnimator.
Leadtools.WinForms.RasterPictureBoxFrameChangedEventArgs Class that provides information about the RasterPictureBox.FrameChanged event.
Leadtools.WinForms.RasterPictureBoxAnimationMode Enumeration that provides values for the RasterPictureBox.AnimationMode property.
Leadtools.WinForms.RasterPictureBoxSizeMode Enumeration that provides values which determine how the control displays the image and whether it automatically adjusts the display rectangles.

Leadtools.WinForms Assembly Changes from Version 14.5 to Version 15

New Types

The following types have been added to LEADTOOLS For .NET v15:

Member Description
Leadtools.WinForms.RasterThumbnailBrowserAddFileEventArgs Provides data for the Leadtools.WinForms.RasterThumbnailBrowser.AddFile event

New Members

The following members have been added to existing types in v15:

Member Description
Leadtools.WinForms.RasterImageViewer.EnableScrollingInterface Gets or sets a value indicating whether the control automatically processes the keyboard and mousewheel
Leadtools.WinForms.RasterImageViewer.HorizontalAlignMode Gets and sets a value to determine how to center the image in the control's client area horizontally, when the width of the destination rectangle is smaller than the width of the client area.
Leadtools.WinForms.RasterImageViewer.VerticalAlignMode Gets and sets a value to determine how to center the image in the control's client area vertically, when the height of the destination rectangle is smaller than the height of the client area.
Leadtools.WinForms.RasterImageViewer.ScrollViewer Occurs when either the horizontal or vertical scroll bar of the Leadtools.WinForms.RasterImageViewer changes
Leadtools.WinForms.RasterImageViewer.PreImagePaint Occurs before immediately before the Leadtools.WinForms.RasterImageViewer does any painting
Leadtools.WinForms.RasterImageViewer.PostImagePaint Occurs after painting the Leadtools.WinForms.RasterImageViewer.Image and the Leadtools.WinForms.RasterImageViewer.FloaterImage Any additional painting should be done in this event.
Leadtools.WinForms.RasterImageViewer.EnableTimer Gets or sets a value indicating whether to enable the timer used when animating regions and floaters
Leadtools.WinForms.RasterImageViewer.BindingRasterCodecs Gets or sets Leadtools.Codecs.RasterCodecs object used to load/save from/to database
Leadtools.WinForms.RasterImageViewer.BindingLoadBitsPerPixel Gets or sets the image bits per pixel used when loading images from a data binding object.
Leadtools.WinForms.RasterImageViewer.BindingSaveBitsPerPixel Gets or sets the image bits per pixel used when saving images to a data binding object.
Leadtools.WinForms.RasterImageViewer.BindingSaveImageFormat Gets or sets the RasterImageFormat" used when saving images to a data binding object.
Leadtools.WinForms.RasterImageViewer.BindingData Gets or sets the extra data used when saving image to a data binding object.
Leadtools.WinForms.RasterImageViewer.WriteBindingData Occurs before writing Leadtools.WinForms.RasterImageViewer.BindingData to a data binding object.
Leadtools.WinForms.RasterImageViewer.ReadBindingData Occurs before reading Leadtools.WinForms.RasterImageViewer.BindingData from a data binding object.
Leadtools.WinForms.RasterImageViewer.SourceRectangle Represents the part of the image to use as the display source.
Leadtools.WinForms.RasterImageViewer.AutoScroll Indicates whether scroll bars automatically appear when the control contents are larger than its visible area
Leadtools.WinForms.RasterImageViewer.SmallScrollChangeRatio Gets or sets the ratio of the Leadtools.WinForms.RasterImageViewer.AutoScrollSmallChange to the Leadtools.WinForms.RasterImageViewer.AutoScrollLargeChange
Leadtools.WinForms.RasterImageViewer.AutoScrollSmallChange Gets or sets the amount that the scroll bar is incremented or decremented for a small scroll.
Leadtools.WinForms.RasterImageViewer.AutoScrollLargeChange Gets or sets the amount that the scroll bar is incremented or decremented for a large scroll.
Leadtools.WinForms.RasterImageViewer.AutoScrollMinSize The minimum logical size for the auto scroll region
Leadtools.WinForms.RasterImageViewer.HScroll Gets a value indicating whether the horizontal scroll bar is visible
Leadtools.WinForms.RasterImageViewer.VScroll Gets a value indicating whether the vertical scroll bar is visible
Leadtools.WinForms.RasterImageViewer.ScrollPosition Gets or sets the location of the auto-scroll position.
Leadtools.WinForms.RasterImageViewer.RedirectPaint Displays the contents of the in the given Graphics object.
Leadtools.WinForms.RasterImageViewer.RedirectImagePaint Occurs after this Leadtools.WinForms.RasterImageViewer calls Leadtools.WinForms.RasterImageViewer.RedirectPaint internally as of a paint event.
Leadtools.WinForms.RasterImageList.EnableRubberBandSelection Enables or disables rubber band selection in the Leadtools.WinForms.RasterImageList
Leadtools.WinForms.RasterImageList.AutoDeselectItems Enables or disables de-selecting items when mouse button is clicked when selection mode is set to multi.
Leadtools.WinForms.RasterImageList.IsSorting Gets a value indicating whether this Leadtools.WinForms.RasterImageList is currently sorting.
Leadtools.WinForms.RasterThumbnailBrowser.AddFile Occurs once for each image file loaded into the Leadtools.WinForms.RasterThumbnailBrowser
Leadtools.WinForms.RasterImagePrinter.HorizontalAlignMode Gets or sets a value to determine how to center the image horizontally in the print page
Leadtools.WinForms.RasterImagePrinter.VerticalAlignMode Gets or sets a value to determine how to center the image vertically in the print page

Changed Types

The following types have been changed in v.15:

Version 14.5 Version 15
Leadtools.WinForms.RasterImageViewer Derive from System.Windows.Forms.Control and not System.Windows.Forms.ScrollableControl. Scrolling mechanism re-implemented

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
RasterViewerRectangleEventHandler System.EventHandler<Leadtools.WinForms.RasterViewerRectangleEventArgs >
RasterViewerPointEventHandler System.EventHandler<Leadtools.WinForms.RasterViewerPointEventArgs >
RasterViewerPointsEventHandler System.EventHandler<Leadtools.WinForms.RasterViewerPointsEventArgs >
RasterViewerLineEventHandler System.EventHandler<Leadtools.WinForms.RasterViewerLineEventArgs >
RasterImagePanViewerEventHandler System.EventHandler<Leadtools.WinForms.RasterImagePanViewerEventArgs >
RasterImageListDrawItemEventHandler System.EventHandler<Leadtools.WinForms.RasterImageListDrawItemEventArgs >
RasterThumbnailBrowserLoadThumbnailEventHandler System.EventHandler<Leadtools.WinForms.RasterThumbnailBrowserLoadThumbnailEventArgs >

Removed Types

The following types have been renamed in v.15:

Type Description
RasterViewerSizeMode Use Leadtools.RasterPaintSizeMode instead
RasterViewerCenterMode Use Leadtools.RasterPaintAlignMode instead

Removed Members

The following members have been removed in v.15:

Version 14.5 Version 15
Leadtools.WinForms.RasterImageViewer.RightAlignMode Use Leadtools.WinForms.RasterImageViewer.HorizontalAlignMode instead
Leadtools.WinForms.RasterImageViewer.EnableKeyboard Use Leadtools.WinForms.RasterImageViewer.EnableScrollingInterface instead
Leadtools.WinForms.RasterImageViewer.CenterMode Use Leadtools.WinForms.RasterImageViewer.HorizontalAlignMode and Leadtools.WinForms.RasterImageViewer.VerticalAlignMode instead
Leadtools.WinForms.RasterImageViewer.FrameIsPartOfView Use Leadtools.WinForms.RasterImageViewer.FramesIsPartOfImage instead
Leadtools.WinForms.RasterImageViewer.FrameShadowIsPartOfView Use Leadtools.WinForms.RasterImageViewer.FramesIsPartOfImage instead
Leadtools.WinForms.RasterImageViewer.OnPaint Protected method removed. Use Leadtools.WinForms.RasterImageViewer.RedirectPaint instead
Leadtools.WinForms.RasterImageViewer.CalculateTransform Internal use method removed
Leadtools.WinForms.RasterImageViewer.PreTransformPaint Use Leadtools.WinForms.RasterImageViewer.PreImagePaint instead
Leadtools.WinForms.RasterImageViewer.PostTransformPaint Use Leadtools.WinForms.RasterImageViewer.PostImagePaint instead
Leadtools.WinForms.RasterImageViewer.PreViewPaint Use Leadtools.WinForms.RasterImageViewer.PreImagePaint instead
Leadtools.WinForms.RasterImageViewer.PostViewPaint Use Leadtools.WinForms.RasterImageViewer.PostImagePaint instead
Leadtools.WinForms.RasterImageViewer.Scroll Use Leadtools.WinForms.RasterImageViewer.ScrollViewer instead
Leadtools.WinForms.RasterImageViewer.AutoScrollPosition Use Leadtools.WinForms.RasterImageViewer.ScrollPosition instead
Leadtools.WinForms.RasterImageViewer.AutoResetOffset Offset no longer supported in the viewer
Leadtools.WinForms.RasterImageViewer.InteractiveOffset Offset no longer supported in the viewer
Leadtools.WinForms.RasterViewerInteractiveMode.Offset Offset no longer supported in the viewer
Leadtools.WinForms.RasterClipboard.RegisterFormats You are no longer required to call this method before using the clipboard
Leadtools.WinForms.RasterImagePrinter.CenterMode Use Leadtools.WinForms.RasterImagePrinter.HorizontalAlignMode and Leadtools.WinForms.RasterImagePrinter.VerticalAlignMode instead

Members Changed

The following members changed in existing types in v.15:

Member Description
Leadtools.WinForms.RasterViewerPointsEventArgs.Points Property type changed to RasterCollection<Point>
Leadtools.WinForms.RasterViewerSizeMode.SizeMode Property type changed to Leadtools.RasterPaintSizeMode
Leadtools.WinForms.RasterImageViewer.ScaleFactor Property type changed to double instead of float
Leadtools.WinForms.RasterImageViewer.CurrentXScaleFactor Property type changed to double instead of float
Leadtools.WinForms.RasterImageViewer.CurrentYScaleFactor Property type changed to double instead of float