9.3.2 Marking Text |
We define a command list to mark some text.
CommandList list = new CommandList(); list.AppendJumpSpeed( 5 ); list.AppendJumpDelay( 0 ); list.AppendMarkSpeed( 2 ); list.AppendMarkDelay( 0 ); list.AppendPolyDelay( 0 ); list.AppendLmFrequency( 1.0 / 50 ); list.AppendLmWidth( 35 ); list.AppendScalingFactor( 1, 1 ); list.AppendJumpAbs( -25000, 5500 ); list.AppendScalingFactor( 10, 10 ); list.AppendMarkText( "01234" ); # # and send it to the card: # client.List.Set( 11, list );
Having defined command list, we are ready to select which font should be used when the list is executed.
For this example, we select font 0, which assume has been defined earlier (see: 9.3.1 Defining Fonts).
client.Font.SetActive( 0 );
Now we can execute our command list which will mark the text string with the selected font.
client.List.Execute( 11 );