Example #1
0
 private LegendRecord CreateLegendRecord()
 {
     LegendRecord r = new LegendRecord();
     r.XAxisUpperLeft = (3542);
     r.YAxisUpperLeft = (1566);
     r.XSize = (437);
     r.YSize = (213);
     r.Type = (LegendRecord.TYPE_RIGHT);
     r.Spacing = (LegendRecord.SPACING_MEDIUM);
     r.IsAutoPosition = (true);
     r.IsAutoSeries = (true);
     r.IsAutoXPositioning = (true);
     r.IsAutoYPositioning = (true);
     r.IsVertical = (true);
     r.IsDataTable = (false);
     return r;
 }
Example #2
0
        public override Object Clone()
        {
            LegendRecord rec = new LegendRecord();

            rec.field_1_xAxisUpperLeft = field_1_xAxisUpperLeft;
            rec.field_2_yAxisUpperLeft = field_2_yAxisUpperLeft;
            rec.field_3_xSize = field_3_xSize;
            rec.field_4_ySize = field_4_ySize;
            rec.field_5_type = field_5_type;
            rec.field_6_spacing = field_6_spacing;
            rec.field_7_options = field_7_options;
            return rec;
        }