CreateVectorHatchPattern

Top  Previous  Next

 

CreateVectorHatchPattern (Method)

 

Creates a string with the required facts to be provided to the parameter Fill_sPattern of the commands add_ShapeXXXX when Fill_iType=AvaxFillType.Vector_f

 

Syntax:

Function CreateVectorHatchPattern(x1() As Single, y1() As Single, x2() As Single, y2() As Single, dx As Single, dy As Single, RotAngle As Single, sScale As Single) As String

 

The CreateVectorHatchPattern method syntax consists of the following:

Parameter

Data Type

Description

x1()

Single

Is the x coordinate of the hatch line segments first point

y1()

Single

Is the y coordinate of the hatch line segments first point

x2()

Single

Is the x coordinate of the hatch line segments end point

y2()

Single

Is the y coordinate of the hatch line segments end point

dx

Single

Is the x distance between the hatch patterns

dy

Single

Is the y distance between the hatch patterns

RotAngle

Single

Is the rotation angle of the pattern

sScale

Single

Is the scale of the pattern

 

Return value:

String - The parameter Fill_sPattern for the Add_ShapeXXXX functions

 

Remarks:

For more details for the fill parameters see the example ShapeFill.vbp

 

Example