LEADTOOLS RasterImage Debugger Visualizer

DotNet

LEADTOOLS RasterImage Debugger Visualizer


freeman@leadtools.com 02-17-2006, 12:48
Version: 14.0.5
Interface: LEADTOOLS .NET
Sample Type: Download
Development Environment: Visual Studio .NET 2005
Keywords: Debugger, Visualizer

This example that shows how to use the LEADTOOLS Raster Imaging for .NET to create a debugger visualizer. A visualizer is defined in the MSDN documentation as:


Visualizers are a new component of the Visual Studio debugger user interface. A visualizer creates a dialog box or other interface to displays a variable or object in a meaningful way that is appropriate to its data type. For example, an HTML visualizer interprets an HTML string and displays the result as it would appear in a browser window, a bitmap visualizer interprets a bitmap structure and displays the graphic it represents, and so on. Some visualizers allow you to edit as well as view the data.

Additional information on debugger visualizers can be obtained from the following article: http://msdn.microsoft.com/msdnmag/issues/04/05/VisualStudio2005Debugging.

Re: LEADTOOLS RasterImage Debugger Visualizer


pogito 01-31-2007, 12:58
Nice but I get a Function Evaluation timed out when I add this Visualizer in VS2005 and try to visualize a raster image in debug. It seems that the object provider cannot get the raster data when invoked in an actual debugging environment.

Re: LEADTOOLS RasterImage Debugger Visualizer


GregR 01-31-2007, 17:04
I had no problems running this project with minimal changes:

1. update reference paths
2. update Rastercodecs.CodecsPath property (line 30)
3. Make sure that the image that it is attempting to load actually exists (line 31)

Greg Ross
LEADTOOLS Technical Support

Re: LEADTOOLS RasterImage Debugger Visualizer


Joshua 06-16-2010, 9:27
Does this still work? Is there a newer RasterImage Debugger Visualizer for the latest leadtools .Net release?

Re: LEADTOOLS RasterImage Debugger Visualizer


GregR 06-16-2010, 16:15
Yes, it still works.  There were more design changes made between 14.5 and 15 such as getting rid of the CodecsPath property, adding the Startup and Shutdown methods, and a few changes to the viewer's size mode constants (more specifically the Leadtools.RasterPaintSizeMode enumeration).  Attached is a 16.5 port of this project.

For more details on the changes between the major versions check out the Version History section of the .NET help file.

Greg Ross
LEADTOOLS Technical Support
Copyright LEAD Technologies, Inc. 2009

Powered by Community Server, by Telligent Systems