Add_LinearHatch
MethodAdd_LinearHatch (Method)
Adds a linear hatch to the drawing
Syntax:
Function Add_LinearHatch(xV() As Single, yV() As Single, zV() As Single, Distance As Single, Angle As Single, fOutside As Boolean, fBorder As Boolean, Mask As String, vItemProperties As Object, iClr As Short, iWidth As Short, iStyle As Short, iLayer As Short) As Integer
The Add_LinearHatch method syntax consists of the following:
Parameter |
Data Type |
Description |
xV() |
Single |
An array for the x coordinates of the polygon that contains the hatch |
yV() |
Single |
An array for the y coordinates of the polygon that contains the hatch |
zV() |
Single |
An array for the z coordinates of the polygon that contains the hatch |
Distance |
Single |
The distance between the lines of the hatch |
Angle |
Single |
The angle of the hatch's lines |
fOutside |
Boolean |
If true then the hatch draws outside the polygon |
fBorder |
Boolean |
True to draw a rectangle border |
Mask |
String |
The hatch mask |
vItemProperties |
Object |
A string array of properties for the new object |
iClr |
Short |
The color index number |
iWidth |
Short |
The pen width |
iStyle |
Short |
The line type |
iLayer |
Short |
The layer number |
Return value:
Integer - An Avax handle on success, zero on error.