VIDEO.GetToolProperties

Previous  Next

 

status = VIDEO.GetToolProperties( nControl   AS INTEGER,

                                  nTool      AS INTEGER,

                                  properties AS ARRAY ) AS INTEGER

 

 

 

 

Returns the properties of specified tool as an integer array.  The array must be large enough to hold the return properties and should be of type INTEGER.  The function returns the number of elements in the returned tool properties.

 

The largest number integers for the largest tool (COM) is 100

 

The largest array can be defined as

 

DIM toolprops(100) AS INTEGER

 

or

 

DIM toolprops(MT_Tool_Properties) AS INTEGER

 

Example:

 

DIM props(MT_Tool_Properties) AS INTEGER

DIM count AS INTEGER

 

' Get Tool #1 Properties

count = VIDEO.GetToolProperties( nControl, 1, props )

IF i = 0 THEN

  PRINT "GetToolProperties Failed!",

ELSE

  ' Output the Tool Properties

  FOR i = 1 TO count

     PRINT i;": ";props(i),

  ENDFOR

ENDIF