Example #1
0
	private LineFormatRecord CreateLineFormatRecord2()
	{
		LineFormatRecord r = new LineFormatRecord();
		r.SetLineColor( 0x00808080 );
		r.SetLinePattern( (short) 0 );
		r.SetWeight( (short) 0 );
		r.SetAuto( false );
		r.SetDrawTicks( false );
		r.SetUnknown( false );
		r.SetColourPaletteIndex( (short) 23 );
		return r;
	}
Example #2
0
	private LineFormatRecord CreateLineFormatRecord( bool drawTicks )
	{
		LineFormatRecord r = new LineFormatRecord();
		r.SetLineColor( 0 );
		r.SetLinePattern( LineFormatRecord.LINE_PATTERN_SOLID );
		r.SetWeight( (short) -1 );
		r.SetAuto( true );
		r.SetDrawTicks( drawTicks );
		r.SetColourPaletteIndex( (short) 77 );  // what colour is this?
		return r;
	}