Victor -
This is indeed a problem and I have filed a CAR with id 4GRFIH5G.
In the meantime, instead of using DrawLine2 you can use the overlay functionality and merge it on to the image to get the same effect. Here's a quick example (assuming you have an image called Image):
Dim line as New CWIMAQLine
line.Initialize 10, 100, 200, 10
' Clear any existing overlays on the image
Image.Overlays(1).Clear
' Draw a red overlay line
Image.Overlays(1).DrawLine line, RGB(255, 0, 0)
' Merge the overlay on the image
Image.Overlays(1).Merge
Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D