public override Object Clone()
        {
            ValueRangeRecord rec = new ValueRangeRecord();

            rec.field_1_minimumAxisValue = field_1_minimumAxisValue;
            rec.field_2_maximumAxisValue = field_2_maximumAxisValue;
            rec.field_3_majorIncrement = field_3_majorIncrement;
            rec.field_4_minorIncrement = field_4_minorIncrement;
            rec.field_5_categoryAxisCross = field_5_categoryAxisCross;
            rec.field_6_options = field_6_options;
            return rec;
        }
Beispiel #2
0
 private ValueRangeRecord CreateValueRangeRecord()
 {
     ValueRangeRecord r = new ValueRangeRecord();
     r.MinimumAxisValue = (0.0);
     r.MaximumAxisValue = (0.0);
     r.MajorIncrement = (0);
     r.MinorIncrement = (0);
     r.CategoryAxisCross = (0);
     r.IsAutomaticMinimum = (true);
     r.IsAutomaticMaximum = (true);
     r.IsAutomaticMajor = (true);
     r.IsAutomaticMinor = (true);
     r.IsAutomaticCategoryCrossing = (true);
     r.IsLogarithmicScale = (false);
     r.IsValuesInReverse = (false);
     r.IsCrossCategoryAxisAtMaximum = (false);
     r.IsReserved = (true);	// what's this do??
     return r;
 }