Available in the LEADTOOLS Imaging toolkit. |
CreateMarkers example for Visual Basic
'Add LEAD Main ActiveX Control into your form and call it
"LEAD1"
Dim Markers1 As LEADMarkers
Dim Markers2 As LEADMarkers
Private Sub CreateMarkers_Click()
Set Markers1 = LEAD1.LoadMarkers("c:\image1.jpg", 0)
Set Markers2 = LEAD1.CreateMarkers
Set Markers2 = Markers1.Clone
Dim i As Integer
For i = 0 To Markers2.Count - 1
Print Markers2.Marker(i).Type, Markers2.Marker(i).Size
Next i
End Sub