コード例 #1
0
ファイル: HSSFChart.cs プロジェクト: missxiaohuang/Weekly
 private AreaFormatRecord CreateAreaFormatRecord2()
 {
     AreaFormatRecord r = new AreaFormatRecord();
     r.ForegroundColor = (0x00c0c0c0);
     r.BackgroundColor = (0x00000000);
     r.Pattern = ((short)1);
     r.IsAutomatic = (false);
     r.IsInvert = (false);
     r.ForecolorIndex = ((short)22);
     r.BackcolorIndex = ((short)79);
     return r;
 }
コード例 #2
0
        public override Object Clone()
        {
            AreaFormatRecord rec = new AreaFormatRecord();

            rec.field_1_foregroundColor = field_1_foregroundColor;
            rec.field_2_backgroundColor = field_2_backgroundColor;
            rec.field_3_pattern = field_3_pattern;
            rec.field_4_formatFlags = field_4_formatFlags;
            rec.field_5_forecolorIndex = field_5_forecolorIndex;
            rec.field_6_backcolorIndex = field_6_backcolorIndex;
            return rec;
        }
コード例 #3
0
ファイル: HSSFChart.cs プロジェクト: missxiaohuang/Weekly
 private AreaFormatRecord CreateAreaFormatRecord1()
 {
     AreaFormatRecord r = new AreaFormatRecord();
     r.ForegroundColor = (16777215);	 // RGB Color
     r.BackgroundColor = (0);			// RGB Color
     r.Pattern = ((short)1);			 // TODO: Add Pattern constants to record
     r.IsAutomatic = (true);
     r.IsInvert = (false);
     r.ForecolorIndex = ((short)78);
     r.BackcolorIndex = ((short)77);
     return r;
 }