BitonalScaling property (ILEADRasterImgList)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

ImageListBitonalScalingConstants BitonalScaling

Overview

Refer to Using the Image List Control.

Remarks

(Persistent property, available at design time) Sets options to improve the display of bitonal bitmaps in the ImageList Control.

Setting

Description

IMGLST_BITONALSCALING_NORMAL

Causes bitonal images to be displayed normally when they are scaled.

IMGLST_BITONALSCALING_FAVORBLACK

Enables a bias in preserving black objects when displaying zoomed-out 1-bit images. This can prevent the disappearance of fine lines and details, but it slows down the display.

IMGLST_BITONALSCALING_SCALETOGRAY

Enables grayscaling of 1-bit images when they are displayed. This improves the readability of the images when they are zoomed in or zoomed out, but it slows down the display.

The default is IMGLST_BITONALSCALING_NORMAL.

See Also

Elements:

PaintDither property, PaintScaling property

Topics:

Raster Images: Displaying Images