HachClosedOnly Property

HachClosedOnly returns or sets the hachure closed contours only state. It has a Boolean. If this value is set to 'True', then only closed contour lines use hachures. If a contour line intersects the border of the map, hachures are not displayed on that contour line. If this value is set to 'False', hachures are displayed on all contour lines, whether the line is closed or not.

Syntax

object.HachClosedOnly

object. HachClosedOnly = ClosedOnly

Parameter

Type

Description

ClosedOnly

Boolean

required

Example 1

This example demonstrates how to return whether or not hachures are only drawn on closed contours.

Debug.Print ContourLayer.HachClosedOnly

Example 2

This example demonstrates how to draw hachures only on closed contours.

ContourLayer.HachClosedOnly = True

Used by: ContourLayer Object