VIDEO.SetDistanceProperties

Previous  Next

 

status = VIDEO.SetDistanceProperties( nControl     AS INTEGER,

                                      nDistance    AS INTEGER,

                                      nLineWIdth   AS INTEGER,

                                      nDec         AS INTEGER,

                                      fgColor      AS INTEGER,

                                      bgColor      AS INTEGER,

                                      strFontName  AS STRING,

                                      nFontSize    AS INTEGER,

                                      nFontWeight  AS INTEGER,

                                      bFontItalic  AS INTEGER ) AS INTEGER

 

 

 

 

Sets the properties of the displayed distance tool.   If Distance number is set to 0, then the default properties are being set.  If set to -1, then all are set.

 

Example:

 

VIDEO.SetDistanceProperties( nControl, 1, 2, 2,_

                            RGB( 220, 16, 16 ), CR_Default,_

                            "Arial", 9, MT_Font_Normal, FALSE )