Tutorial for Visual C++ 5.0 Programmers

The following topics provide brief and simple examples to help you learn how to use the LEADTOOLS COM Objects. Note that the COM Objects require the MFC 4.2 files, which are described in System Files Updated.

Implementing the LEADTOOLS COM Objects in Visual C++ 5.0 and later is much different than with earlier versions of Visual C++. These instructions were developed with version 5.0, except for the Implementing a Database with the MS ADO Data Control tutorial, which requires version 6.0.

For general information about the syntax requirements of this interface, refer to Visual C++ 5.0 Syntax.

LEADTOOLS COM supports UNICODE. For more information on using the samples in this help file with UNICODE, please refer to A Special Note About UNICODE Support.

Note:

These tutorial examples are intended to be easy to understand and easy to test. The example programs in the EXAMPLES subdirectory provide more in depth design and more detailed code.

Loading and Displaying an Image

Zooming Out and Zooming In

 

Dynamically Positioning the Control

Zooming In on a Selection

 

Outlining, Dragging, and Pasting a Region

Creating and Using Annotations

 

Using ODBC to Access Image Data

Implementing a Database with the MS ADO Data Control

 

Printing Multiple Images

Writing and Reading Multipage Files

 

Drawing Simple Lines and Shapes

Cropping a Bitmap

Cropping a Bitmap2 (C++ 5.0 and later)

Creating, Viewing, and Merging Color Separations

Updating a Gauge and Detecting a User Interrupt

Creating an MDI Application

Using the Magnifying Glass

Using the Magnifying Glass (2)

 

Using a PanWindow

Print a Real Image Size in Inches

Combining Images with Regions

Splitting a Multi-page TIFF File (Visual C++ 5.0)

 

Miscellaneous Examples