Add_Point example
Example for Add_Point method
Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load
cAvax1.StartAvax()
Call CAvax1.SetAvaxProperty(Avax.AvaxProp.PointRadius_p, 0.5!)
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 x1 As Single
Dim y1 As Single
Dim z1 As Single
Dim vItemProperties As Object
Dim iClr As Short
Dim iWidth As Short
Dim iPointStyle As Short
Dim iLayer As Short
Dim AvaxHandle As Integer
cAvax1.AutoRedraw = False
x1 = -3 : y1 = 5 : z1 = 0
iClr = 5
For iPointStyle = 0 To 16
AvaxHandle = cAvax1.Add_Point(x1, y1, z1, vItemProperties, iClr, iWidth, iPointStyle, iLayer)
x1 = x1 + 1.5
Next iPointStyle
cAvax1.AutoRedraw = True
End Sub