Add_DXF example
Example for Add_DXF method
Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
cAvax1.StartAvax()
End Sub
Private Sub Form1_FormClosed(ByVal eventSender As System.Object, ByVal eventArgs As System.Windows.Forms.FormClosedEventArgs) Handles Me.FormClosed
cAvax1.EndAvax()
End Sub
Private Sub Command1_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles Command1.Click
Dim sDxfFile As String
Dim sDxfLayers As String
Dim x As Single
Dim y As Single
Dim z As Single
Dim vItemProperties As Object
Dim fNoText As Boolean
Dim fNoBlock As Boolean
Dim fNoDimension As Boolean
Dim vRetHandles As Object
Dim AvaxHandle As Boolean
'Definition of the DXF File Name
sDxfFile = My.Application.Info.DirectoryPath & "\..\Sample.DXF"
' Import all the Layers
sDxfLayers = ""
AvaxHandle = cAvax1.Add_DXF(sDxfFile, sDxfLayers, x, y, z, vItemProperties, fNoText, fNoBlock, fNoDimension, vRetHandles)
End Sub