SetHachFrequency
SetHachFrequency turns on/off a range of contour map hachures.
Syntax
object.SetHachFrequency(FirstIndex, NumberToSet, NumberToSkip )
Parameter |
Type |
Required/ Optional |
Default |
Description |
FirstIndex |
Integer |
Required |
|
This specifies the first contour to draw hachures, the contour index starts at one not at the minimum elevation number. |
NumberToSet |
Integer |
Required |
|
This specifies the specifies the number of levels that should have hachures. |
NumberToSkip |
Integer |
Required |
|
This specifies the specifies the number of levels that should be skipped over (no hachures). |
Remarks
The hachures drawn depend on the HachClosedOnly and HachDirection settings along with the above SetHachFrequency settings.
Examples (assuming that hachures can be drawn on all levels):
If NumberToSet is set to 1 and NumberToSkip is set to 0, all lines are hachured.
If NumberToSet is set to 1 and NumberToSkip is set to 1, every other line is drawn with hachures.
Example
This example demonstrates how to hachure every fifth contour starting with the third contour level.
Levels.SetHachFrequency(FirstIndex:=3, NumberToSet:=1, NumberToSkip:=4)
Used by: Levels collection