Displaying multi-page tiff files using the ImageBox control and C#
A brief article showing how to display individual pages from a multi-page tiff file in the ImageBox control.
A brief article showing how to display individual pages from a multi-page tiff file in the ImageBox control.
The `ImageBox` control is already a versatile little control and I use it for all sorts of tasks. One of the features I recently wanted was to allow users to be able to select a source region, then adjust this as needed. The control already allows you to draw a selection region, but if you need to adjust that ... well, you can't. You can only draw a new region. This article describes how to extend the `ImageBox` to include the ability to resize the selection region. A older demonstration which shows how to drag the selection around has also been incorporated, in a more tidy fashion than the demo.
Update 1.1.4.0 of the ImageBox control is now available, with a large number of new features and bug fixes.
Update 1.1.2.0 of the ImageBox control is now available, with a variety of new features and bug fixes.
An article which describes how to adjust the zoom and view port in a ScrollableControl to match a specified rectangle.
An article which describes how to zoom into a fixed point in a ScrollableControl, keeping a given point in the same position after the zoom.
This article describes adding new functionality to the ImageBox control to allow selecting portions of the current image.
Article describing how to extend the ImageBox control to support displaying PDF files using the GhostScript API, removing the need for a dedicated PDF reader.
Fourth and final in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part three added panning, we now add zoom support via the mouse wheel and clicking with the left or right buttons, along with some additional display properties.
Third in a multi part series on creating an image viewer that can be scrolled and zoomed in C#. After part two added scrolling support, we now extend this to support panning and keyboard scrolling.