Beispiel #1
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);
        }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 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;
 }
        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;
        }