IntelliCAD 11.1 Object Library
AddHatch Method
See Also 
PatternType
PatternName
The name of the hatch pattern to be used. If the HatchObjectType is acGradientObject, the name should be the gradient hatch name.
Associativity

Boolean value:

True = The hatch is associative.

False = The hatch is not associative.

HatchObjectType

Optionally one of the following:

0 = acHatchObject

1 = acGradientObject

PaperSpace Collection : AddHatch Method

Description

Adds a hatch entity.

Syntax

Visual Basic
Public Function AddHatch( _
   ByVal PatternType As HatchType, _
   ByVal PatternName As String, _
   Optional ByVal Associativity As Boolean = True, _
   Optional ByVal HatchObjectType As Variant _
) As Hatch

Parameters

PatternType
ValueDescription
vicHatchPatternTypeCustomDefinedPattern name is located in a PAT other than the default.
vicHatchPatternTypePreDefinedPattern name is predefined in the default PAT file.
vicHatchPatternTypeUserDefinedUser defined pattern based on current linetype.
PatternName
The name of the hatch pattern to be used. If the HatchObjectType is acGradientObject, the name should be the gradient hatch name.
Associativity

Boolean value:

True = The hatch is associative.

False = The hatch is not associative.

HatchObjectType

Optionally one of the following:

0 = acHatchObject

1 = acGradientObject

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.