示例#1
0
        public override Object Clone()
        {
            LineFormatRecord rec = new LineFormatRecord();

            rec.field_1_lineColor          = field_1_lineColor;
            rec.field_2_linePattern        = field_2_linePattern;
            rec.field_3_weight             = field_3_weight;
            rec.field_4_format             = field_4_format;
            rec.field_5_colourPaletteIndex = field_5_colourPaletteIndex;
            return(rec);
        }
示例#2
0
 private LineFormatRecord CreateLineFormatRecord2()
 {
     LineFormatRecord r = new LineFormatRecord();
     r.LineColor = (0x00808080);
     r.LinePattern = ((short)0);
     r.Weight = ((short)0);
     r.IsAuto = (false);
     r.IsDrawTicks = (false);
     r.IsUnknown = (false);
     r.ColourPaletteIndex = ((short)23);
     return r;
 }
示例#3
0
 private LineFormatRecord CreateLineFormatRecord(bool drawTicks)
 {
     LineFormatRecord r = new LineFormatRecord();
     r.LineColor = (0);
     r.LinePattern = (LineFormatRecord.LINE_PATTERN_SOLID);
     r.Weight = ((short)-1);
     r.IsAuto = (true);
     r.IsDrawTicks = (drawTicks);
     r.ColourPaletteIndex = ((short)77);  // what colour is this?
     return r;
 }
        public override Object Clone()
        {
            LineFormatRecord rec = new LineFormatRecord();

            rec.field_1_lineColor = field_1_lineColor;
            rec.field_2_linePattern = field_2_linePattern;
            rec.field_3_weight = field_3_weight;
            rec.field_4_format = field_4_format;
            rec.field_5_colourPaletteIndex = field_5_colourPaletteIndex;
            return rec;
        }