Example Programs

The following example programs are in separate EXAMPLES\CLASSLIB\ subdirectories (such as C:\LEAD12\EXAMPLES\CLASSLIB\DEMO). The executable files for these examples were compiled with Document/Medical capabilities of the toolkit. To get Document/Medical capabilities, you must buy the LEADTOOLS Document/Medical toolkit. Otherwise, if you recompile the examples, the resulting executable files will not have the Document/Medical capabilities.

To run the example programs, LEADTOOLS must be installed on your system. The EXEs for these example programs can be found in the LEAD\BIN directory, where LEAD represents the directory in which LEADTOOLS was installed. The source code for these demos can be found in sub-directories of the LEAD\EXAMPLES directory.

ANNOTATE

Annotations demonstrates the annotation capabilities of the Document/Medical toolkit. This program was compiled using a Microsoft compiler.

DEMO

Main Demo is the main example program. It uses pull-down menus to demonstrate most of the LEADTOOLS features in one application. This program was compiled using a Microsoft compiler.

ANNOTATE

Annotations demonstrates the annotation capabilities of the Document/Medical toolkit. This program was compiled using a Borland compiler.

DEMO

Main Demo is the main example program. It uses pull-down menus to demonstrate most of the LEADTOOLS features in one application. This program was compiled using a Borland compiler.

UNDERLAY

Underlay demonstrates the LBitmapBase::Underlay function. It loads two images specified on the command line and displays the first one. It then combines the images using the second one as an underlying image, and displays the combined image.

WARPING

Warping demonstrates the LBitmapBase::CombineBitmapWarp function. It lets you load a master image and a slave image and, through the use of a polygon annotation, select the area of the master image to which to warp the slave image.

ZoomView

ZoomView demonstrates the zoom view functionality. It lets you load an image and, zoom any portion of the image. As long as the user moves the rectangle of the selected portion to be zoomed, the zoom view window will zoom that portion. In addition, the user can create multiple zoom views.