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. |
RasterThumbnailBrowserLoadThumbnailEventArgs.TotalPages | The total number of pages in the file to load. |
Leadtools.WinForms.RasterThumbnailBrowserLoadThumbnailEventArgs.Page | The page number in the file to load. |
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. |
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. |
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. |
RasterPictureBoxFrameChangedEventArgs | Class that provides information about the RasterPictureBox.FrameChanged event. |
RasterPictureBoxAnimationMode | Enumeration that provides values for the RasterPictureBox.AnimationMode property. |
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 |
---|---|
RasterThumbnailBrowserAddFileEventArgs | Provides data for the RasterThumbnailBrowser.AddFile event |
New Members
The following members have been added to existing types in v15:
Member | Description |
---|---|
RasterImageViewer.EnableScrollingInterface | Gets or sets a value indicating whether the control automatically processes the keyboard and mousewheel |
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. |
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. |
RasterImageViewer.ScrollViewer | Occurs when either the horizontal or vertical scroll bar of the RasterImageViewer changes |
RasterImageViewer.PreImagePaint | Occurs before immediately before the RasterImageViewer does any painting |
RasterImageViewer.PostImagePaint | Occurs after painting the RasterImageViewer.Image and the RasterImageViewer.FloaterImage Any additional painting should be done in this event. |
RasterImageViewer.EnableTimer | Gets or sets a value indicating whether to enable the timer used when animating regions and floaters |
RasterImageViewer.BindingRasterCodecs | Gets or sets RasterCodecs object used to load/save from/to database |
RasterImageViewer.BindingLoadBitsPerPixel | Gets or sets the image bits per pixel used when loading images from a data binding object. |
RasterImageViewer.BindingSaveBitsPerPixel | Gets or sets the image bits per pixel used when saving images to a data binding object. |
RasterImageViewer.BindingSaveImageFormat | Gets or sets the RasterImageFormat used when saving images to a data binding object. |
RasterImageViewer.BindingData | Gets or sets the extra data used when saving image to a data binding object. |
RasterImageViewer.WriteBindingData | Occurs before writing RasterImageViewer.BindingData to a data binding object. |
RasterImageViewer.ReadBindingData | Occurs before reading RasterImageViewer.BindingData from a data binding object. |
RasterImageViewer.SourceRectangle | Represents the part of the image to use as the display source. |
RasterImageViewer.AutoScroll | Indicates whether scroll bars automatically appear when the control contents are larger than its visible area |
RasterImageViewer.SmallScrollChangeRatio | Gets or sets the ratio of the RasterImageViewer.AutoScrollSmallChange to the RasterImageViewer.AutoScrollLargeChange |
RasterImageViewer.AutoScrollSmallChange | Gets or sets the amount that the scroll bar is incremented or decremented for a small scroll. |
RasterImageViewer.AutoScrollLargeChange | Gets or sets the amount that the scroll bar is incremented or decremented for a large scroll. |
RasterImageViewer.AutoScrollMinSize | The minimum logical size for the auto scroll region |
RasterImageViewer.HScroll | Gets a value indicating whether the horizontal scroll bar is visible |
RasterImageViewer.VScroll | Gets a value indicating whether the vertical scroll bar is visible |
RasterImageViewer.ScrollPosition | Gets or sets the location of the auto-scroll position. |
RasterImageViewer.RedirectPaint | Displays the contents of the RasterImageViewer in the given Graphics object. |
RasterImageViewer.RedirectImagePaint | Occurs after this RasterImageViewer calls RasterImageViewer.RedirectPaint internally as of a paint event. |
RasterImageList.EnableRubberBandSelection | Enables or disables rubber band selection in the RasterImageList |
RasterImageList.AutoDeselectItems | Enables or disables de-selecting items when mouse button is clicked when selection mode is set to multi. |
RasterImageList.IsSorting | Gets a value indicating whether this RasterImageList is currently sorting. |
RasterThumbnailBrowser.AddFile | Occurs once for each image file loaded into the RasterThumbnailBrowser |
RasterImagePrinter.HorizontalAlignMode | Gets or sets a value to determine how to center the image horizontally in the print page |
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 |
---|---|
RasterImageViewer | Derive from Control and not 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 | EventHandler<RasterViewerRectangleEventArgs> |
RasterViewerPointEventHandler | EventHandler<RasterViewerPointEventArgs> |
RasterViewerPointsEventHandler | EventHandler<RasterViewerPointsEventArgs> |
RasterViewerLineEventHandler | EventHandler<RasterViewerLineEventArgs> |
RasterImagePanViewerEventHandler | EventHandler<RasterImagePanViewerEventArgs> |
RasterImageListDrawItemEventHandler | EventHandler<RasterImageListDrawItemEventArgs> |
RasterThumbnailBrowserLoadThumbnailEventHandler | EventHandler<RasterThumbnailBrowserLoadThumbnailEventArgs> |
Removed Types
The following types have been renamed in v.15:
Type | Description |
---|---|
RasterViewerSizeMode | Use RasterPaintSizeMode instead |
RasterViewerCenterMode | Use RasterPaintAlignMode instead |
Removed Members
The following members have been removed in v.15:
Members Changed
The following members changed in existing types in v.15:
Member | Description |
---|---|
RasterViewerPointsEventArgs.Points | Property type changed to RasterCollection<Point> |
RasterViewerSizeMode.SizeMode | Property type changed to RasterPaintSizeMode |
RasterViewerSizeMode.ScaleFactor | Property type changed to double instead of float |
RasterImageViewer.CurrentXScaleFactor | Property type changed to double instead of float |
RasterImageViewer.CurrentYScaleFactor | Property type changed to double instead of float |