VIDEO.NoOfPoints |
npoints = VIDEO.NoOfPoints( nControl AS INTEGER, nFrame AS INTEGER, nNewValue AS INTEGER ) AS INTEGER
Sets or gets the number of points digitized in the file
Example:
FOR i = 1 TO VIDEO.NoOfPoints( nControl, MT_All_Frames ) PRINT "Point #";i;" Name: ";VIDEO.PointName( nControl, i ), FOR frame = 1 TO 10 strOut = FORMAT( "Frame %03d: %6.1f, %6.1f\n", frame, VIDEO.XCoord( nControl, frame, i, FALSE ),_ VIDEO.YCoord( nControl, frame, i, FALSE ) ) PRINT strOut ENDFOR ENDFOR
|