Add_LinearHatch

Top  Previous  Next

 

Add_LinearHatch (Method)

 

Use this method if you want to add a Linear Hatch into 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

Is the distance between the lines of the hatch

Angle

Single

Is the angle of the hatch's lines

fOutside

Boolean

If true then the hatch draws outside the polygon

fBorder

Boolean

If true then a rectangle border draws

Mask

String

Is the mask of the hatch

vItemProperties

Object

Is a string array with properties for the new objects

iClr

Short

Is the color index number

iWidth

Short

Is the pen width

iStyle

Short

Is the line type

iLayer

Short

Is the layer number

 

Return value:

Integer - An Avax handle on success, zero on error.

 

Example