Texts::Write

 

This method write a line of text to the tool's window

 

 

Syntax

 

void  Write(

          char format[],

          ...

) ;

 

 

Parameters

 

format, ...

                    This method use the same parameter syntax as the printf function..

 

 

 

Return value

 

This method does not return a value.

 

 

Remarks

 

When writing text to the tool, some ASCII values are reserved for font and color controls:

 

 

0x01

0x02

0x03

0x04

0x05

0x06

Blue text

Black text

White text

Red text

Yellow text

Green text

 

0xF0

0xF1

0xF2

Normal text

Bold text

Italic text

          

ex:

text.Write( "Text: \01 Blue, \02 Black, \03 White \04 Red, \05 Yellow, \06 Green" ) ;

text.Write( "Text: \xF0 Normal, \xF1 Bold, \xF2 Italic" ) ;

 

 

 

Requirements

 

Header:

          TomoVision_Util.hpp

          TomoVision_Tools.hpp

 

Library:

          TomoVision_Util.lib

          TomoVision_Tools.lib

 

 

Example

 

static          texts  demo ;

 

 

 

See also