CreateACADHatchPattern
MethodCreateACADHatchPattern (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.PatACAD_f
Syntax:
Function CreateACADHatchPattern(sPatFile As String, sPatternName As String, RotAngle As Single, sScale As Single) As String
The CreateACADHatchPattern method syntax consists of the following:
Parameter |
Data Type |
Description |
sPatFile |
String |
A String expression that defines the name of an ACAD pattern file (.PAT) |
sPatternName |
String |
A String expression that defines the name of the pattern |
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.