Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Leadtools.WinForms Assembly Changes

Version 16.5 changes

Version 16 changes

Version 15 changes

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:

MemberDescription
RasterImageListItem.FilePageNumberGets the file page number for the RasterImageListItem if this item represent a single page is a multi page file.
RasterImageListItem.FileTotalPagesGets the total number of pages a multi page file.
RasterThumbnailBrowserLoadThumbnailEventArgs.PageThe total number of pages in the file to load.
RasterThumbnailBrowserLoadThumbnailEventArgs.TotalPagesThe page number in the file to load.
RasterImagePrinter.OnUseDpiChanged(System.EventArgs)Raises the UseDpiChanged event.
RasterImagePrinter.OnUseMarginsChanged(System.EventArgs)Raises the UseMarginsChanged event.
RasterImagePrinter.PrintDocumentGets or sets the PrintDocument object associated with this print job.
RasterImagePrinter.UseDpiChangedOccurs when the value of the UseDpi property changes.
RasterImagePrinter.UseMarginsGets or sets a value that indicates whether to use the page margins when printing.
RasterImagePrinter.UseMarginsChangedOccurs 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.TotalPagesThe total number of pages in the file to load.
Leadtools.WinForms.RasterThumbnailBrowserLoadThumbnailEventArgs.PageThe page number in the file to load.
AllDirectoriesLoad image files in current directory and all subdirectories. If this flag is not set only image files in the current directory will be loaded.
ExpandMultiPageFileA RasterImageListItem will be created and added to the RasterThumbnailBrowser for each page found in the image file if it is a multipage file.
LoadThumbnailsBrowses 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:

MemberDescription
RasterPictureBoxClass 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.
RasterPictureBoxFrameChangedEventArgsClass that provides information about the RasterPictureBox.FrameChanged event.
RasterPictureBoxAnimationModeEnumeration that provides values for the RasterPictureBox.AnimationMode property.
RasterPictureBoxSizeModeEnumeration 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:

MemberDescription
RasterThumbnailBrowserAddFileEventArgs Provides data for the RasterThumbnailBrowser.AddFile event

New Members

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

MemberDescription
RasterImageViewer.EnableScrollingInterfaceGets or sets a value indicating whether the control automatically processes the keyboard and mousewheel
RasterImageViewer.HorizontalAlignModeGets 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.VerticalAlignModeGets 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.EnableTimerGets 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.BindingLoadBitsPerPixelGets or sets the image bits per pixel used when loading images from a data binding object.
RasterImageViewer.BindingSaveBitsPerPixelGets 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.BindingDataGets 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.SourceRectangleRepresents the part of the image to use as the display source.
RasterImageViewer.AutoScrollIndicates 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.AutoScrollSmallChangeGets or sets the amount that the scroll bar is incremented or decremented for a small scroll.
RasterImageViewer.AutoScrollLargeChangeGets or sets the amount that the scroll bar is incremented or decremented for a large scroll.
RasterImageViewer.AutoScrollMinSizeThe minimum logical size for the auto scroll region
RasterImageViewer.HScrollGets a value indicating whether the horizontal scroll bar is visible
RasterImageViewer.VScrollGets a value indicating whether the vertical scroll bar is visible
RasterImageViewer.ScrollPositionGets 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.AutoDeselectItemsEnables 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.HorizontalAlignModeGets or sets a value to determine how to center the image horizontally in the print page
RasterImagePrinter.VerticalAlignModeGets 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.5Version 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.5Version 15
RasterViewerRectangleEventHandlerEventHandler<RasterViewerRectangleEventArgs>
RasterViewerPointEventHandlerEventHandler<RasterViewerPointEventArgs>
RasterViewerPointsEventHandlerEventHandler<RasterViewerPointsEventArgs>
RasterViewerLineEventHandlerEventHandler<RasterViewerLineEventArgs>
RasterImagePanViewerEventHandlerEventHandler<RasterImagePanViewerEventArgs>
RasterImageListDrawItemEventHandlerEventHandler<RasterImageListDrawItemEventArgs>
RasterThumbnailBrowserLoadThumbnailEventHandlerEventHandler<RasterThumbnailBrowserLoadThumbnailEventArgs>

Removed Types

The following types have been renamed in v.15:

TypeDescription
RasterViewerSizeMode Use RasterPaintSizeMode instead
RasterViewerCenterMode Use RasterPaintAlignMode instead

Removed Members

The following members have been removed in v.15:

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

Members Changed

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

MemberDescription
RasterViewerPointsEventArgs.Points Property type changed to RasterCollection<Point>
RasterViewerSizeMode.SizeMode Property type changed to RasterPaintSizeMode
RasterViewerSizeMode.ScaleFactorProperty type changed to double instead of float
RasterImageViewer.CurrentXScaleFactorProperty type changed to double instead of float
RasterImageViewer.CurrentYScaleFactorProperty type changed to double instead of float