CreateVectorHatchPattern
MethodCreateVectorHatchPattern (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 |
The x coordinate of the hatch line segments first point |
y1() |
Single |
The y coordinate of the hatch line segments first point |
x2() |
Single |
The x coordinate of the hatch line segments end point |
y2() |
Single |
The y coordinate of the hatch line segments end point |
dx |
Single |
The x distance between the hatch patterns |
dy |
Single |
The y distance between the hatch patterns |
RotAngle |
Single |
The rotation angle of the pattern |
sScale |
Single |
The scale of the pattern |
Return value:
String - The parameter Fill_sPattern for the Add_ShapeXXXX functions
Remarks:
Use the returned string as line type data for Avax line style definitions.