FillPattern Property

The FillPattern property returns or sets the fill pattern for a contour map. Returns a string.

Syntax

object. FillPattern

object. FillPattern = Pattern

Parameter

Type

Description

Pattern

String

required

Remarks

The FillPattern sets the pattern of the filled contour map. This can be changed to any of the fill patterns. This does not set the fill color. To set the fill color, see FillForegroundColorMap and FillBackgroundColorMap.

After setting the FillPattern, the script must still apply the fill change. Use the ApplyFilltoLevels command to apply changes.

Example 1

This example demonstrates how to return a fill pattern.

Debug.Print ContourLayer.FillPattern

Example 2

This example demonstrates how to set a fill pattern to diagonal cross.

ContourLayer.FillPattern = "Diagonal Cross"

Used by: ContourLayer Object