InterpolatePixels Property

InterpolatePixels returns or sets the interpolate pixels state for a color relief map. It has a Boolean value.

When it is set to 'True', it uses bilinear interpolation to calculate colors on the map. Bilinear interpolation makes the color gradations smoother, but it can slightly slow the on-screen drawing of the color relief map. If the value is set to 'False', bilinear interpolation of colors is not activated.

Syntax

object.InterpolatePixels

object.InterpolatePixels = Interp

Parameter

Type

Description

Interp

Boolean

required

Example 1

This example demonstrates how to return whether or not the pixels of a color relief map are interpolated.

Debug.Print ColorReliefLayer.InterpolatePixels

Example 2

This example demonstrates how to interpolate pixels of a color relief map.

ColorReliefLayer.InterpolatePixels = True

Used by: ColorReliefLayer Object