Contrast Property

Contrast returns or sets the base (raster) layer image contrast. Returns a Long.

Syntax

object. Contrast

object. Contrast = Contrast

Parameter

Type

Description

Contrast

Long

required, image contrast value between -100 and 100 inclusive. Positive values increase contrast. Negative values decrease contrast. 0 is unaltered image contrast.

Example 1

This example demonstrates how to return the current active label set index value.

Debug .Print RasterBaseLayer.Contrast

Example 2

The following example demonstrates how to increase the image contrast.

RasterBaseLayer.Contrast = 20

Used by: RasterBaseLayer object