Returns or sets the scaling algorithm used when displaying images.
Image Edit control
object.DisplayScaleAlgorithm[=integer]
Integer (enumerated)
Property settings are expressed using the following values:
Setting | Description | Notes |
0 (default) | Normal | Normal decimation |
1 | Gray4 | 4-bit gray-scale, 16 shades of gray |
2 | Gray8 | 8-bit gray-scale, 256 shades of gray |
3 | Stamp | Used for thumbnail representation of images |
4 | Optimize | Changes the display algorithm based on the image type of the displayed image |
The DisplayScaleAlgorithm value can be specified before or after an image is displayed. If the value is specified after an image is displayed, the displayed image may change visually.
When the AutoRefresh property is set to True, changing the DisplayScaleAlgorithm property causes the displayed image to be refreshed automatically. Some settings may not be apparent until the image is scaled to a Zoom value under 100 percent.
AutoRefresh property
Display topics in Imaging Concepts
Image property
Zoom property