Exemplo n.º 1
0
	private AreaFormatRecord CreateAreaFormatRecord2()
	{
		AreaFormatRecord r = new AreaFormatRecord();
		r.SetForegroundColor(0x00c0c0c0);
		r.SetBackgroundColor(0x00000000);
		r.SetPattern((short)1);
		r.SetAutomatic(false);
		r.SetInvert(false);
		r.SetForecolorIndex((short)22);
		r.SetBackcolorIndex((short)79);
		return r;
	}
Exemplo n.º 2
0
	private AreaFormatRecord CreateAreaFormatRecord1()
	{
		AreaFormatRecord r = new AreaFormatRecord();
		r.SetForegroundColor( 16777215 );	 // RGB Color
		r.SetBackgroundColor( 0 );			// RGB Color
		r.SetPattern( (short) 1 );			 // TODO: Add Pattern constants to record
		r.SetAutomatic( true );
		r.SetInvert( false );
		r.SetForecolorIndex( (short) 78 );
		r.SetBackcolorIndex( (short) 77 );
		return r;
	}