Page 1 of 1

Item() call syntax

Posted: Wed Jul 04, 2007 8:42 am
by CDtech07
In the latest release you have made changes to the Frame::Item() method so it works with vb6.

From the API...
Old - Item(Index as long,NPPointCloudPoint as INPPointCloudPoint)

New - Item(a_vlIndex as long) as INPPointCloudPoint

What would be the proper syntax for calling this method now?

"obj_Frame.Item int_Count, obj_Point" worked fine before

Re: Item() call syntax

Posted: Tue Jul 17, 2007 7:02 pm
by Birch
C# syntax changed from :
frame.Item(i, out point);

to :
point = frame.Item(i);


VB 6 uses this syntax :
Set obj_Point = obj_Frame.Item(PointIndex)