BITMAPWNDZOOMMODE (original) (raw)

Summary

The enumeration specifies zoom mode used for displaying the bitmap in the class object's window.

Syntax

typedef enum tagBITMAPWNDZOOMMODE { ZOOM_FIT, ZOOM_STRETCH, ZOOM_NORMAL, ZOOM_FITWIDTH, ZOOM_FITHEIGHT, ZOOM_FACTOR }BITMAPWNDZOOMMODE;

Members

ZOOM_FIT

Fits the bitmap in the window while maintaining the aspect ratio.

ZOOM_STRETCH

Stretches the bitmap to the window.

ZOOM_NORMAL

Displays the bitmap in its normal size.

ZOOM_FITWIDTH

Fits the bitmap to the width of the window.

ZOOM_FITHEIGHT

Fits the bitmap to the height of the window.

Comments

The enumeration is used by LBitmapWindow::SetZoomMode.

LEADTOOLS Raster Imaging C++ Class Library Help