CreateACADHatchPattern

Top  Previous  Next

 

CreateACADHatchPattern (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

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