internal SLTextAxis Clone()
        {
            SLTextAxis ta = new SLTextAxis(this.ShapeProperties.listThemeColors, this.Date1904, false, this.ShapeProperties.ThrowExceptionsIfAny);

            ta.Rotation     = this.Rotation;
            ta.Vertical     = this.Vertical;
            ta.Anchor       = this.Anchor;
            ta.AnchorCenter = this.AnchorCenter;
            ta.AxisId       = this.AxisId;
            ta.fLogBase     = this.fLogBase;
            ta.Orientation  = this.Orientation;
            ta.MaxAxisValue = this.MaxAxisValue;
            ta.MinAxisValue = this.MinAxisValue;
            ta.OtherAxisIsInReverseOrder = this.OtherAxisIsInReverseOrder;
            ta.OtherAxisCrossedAtMaximum = this.OtherAxisCrossedAtMaximum;
            ta.Delete             = this.Delete;
            ta.ForceAxisPosition  = this.ForceAxisPosition;
            ta.AxisPosition       = this.AxisPosition;
            ta.ShowMajorGridlines = this.ShowMajorGridlines;
            ta.MajorGridlines     = this.MajorGridlines.Clone();
            ta.ShowMinorGridlines = this.ShowMinorGridlines;
            ta.MinorGridlines     = this.MinorGridlines.Clone();
            ta.ShowTitle          = this.ShowTitle;
            ta.Title = this.Title.Clone();
            ta.HasNumberingFormat = this.HasNumberingFormat;
            ta.sFormatCode        = this.sFormatCode;
            ta.bSourceLinked      = this.bSourceLinked;
            ta.MajorTickMark      = this.MajorTickMark;
            ta.MinorTickMark      = this.MinorTickMark;
            ta.TickLabelPosition  = this.TickLabelPosition;
            ta.ShapeProperties    = this.ShapeProperties.Clone();
            ta.CrossingAxis       = this.CrossingAxis;
            ta.IsCrosses          = this.IsCrosses;
            ta.Crosses            = this.Crosses;
            ta.CrossesAt          = this.CrossesAt;
            ta.OtherAxisIsCrosses = this.OtherAxisIsCrosses;
            ta.OtherAxisCrosses   = this.OtherAxisCrosses;
            ta.OtherAxisCrossesAt = this.OtherAxisCrossesAt;

            ta.Date1904              = this.Date1904;
            ta.AxisType              = this.AxisType;
            ta.AutoLabeled           = this.AutoLabeled;
            ta.iTickLabelSkip        = this.iTickLabelSkip;
            ta.iTickMarkSkip         = this.iTickMarkSkip;
            ta.LabelAlignment        = this.LabelAlignment;
            ta.iLabelOffset          = this.iLabelOffset;
            ta.ValueMajorUnit        = this.ValueMajorUnit;
            ta.ValueMinorUnit        = this.ValueMinorUnit;
            ta.BuiltInUnitValues     = this.BuiltInUnitValues;
            ta.ShowDisplayUnitsLabel = this.ShowDisplayUnitsLabel;
            ta.BaseUnit              = this.BaseUnit;
            ta.iMajorUnit            = this.iMajorUnit;
            ta.vMajorTimeUnit        = this.vMajorTimeUnit;
            ta.iMinorUnit            = this.iMinorUnit;
            ta.vMinorTimeUnit        = this.vMinorTimeUnit;
            ta.CrossBetween          = this.CrossBetween;
            ta.NoMultiLevelLabels    = this.NoMultiLevelLabels;

            return(ta);
        }
Esempio n. 2
0
        internal SLTextAxis Clone()
        {
            SLTextAxis ta = new SLTextAxis(this.ShapeProperties.listThemeColors, this.Date1904);
            ta.Rotation = this.Rotation;
            ta.Vertical = this.Vertical;
            ta.Anchor = this.Anchor;
            ta.AnchorCenter = this.AnchorCenter;
            ta.AxisId = this.AxisId;
            ta.fLogBase = this.fLogBase;
            ta.Orientation = this.Orientation;
            ta.MaxAxisValue = this.MaxAxisValue;
            ta.MinAxisValue = this.MinAxisValue;
            ta.OtherAxisIsInReverseOrder = this.OtherAxisIsInReverseOrder;
            ta.OtherAxisCrossedAtMaximum = this.OtherAxisCrossedAtMaximum;
            ta.Delete = this.Delete;
            ta.ForceAxisPosition = this.ForceAxisPosition;
            ta.AxisPosition = this.AxisPosition;
            ta.ShowMajorGridlines = this.ShowMajorGridlines;
            ta.MajorGridlines = this.MajorGridlines.Clone();
            ta.ShowMinorGridlines = this.ShowMinorGridlines;
            ta.MinorGridlines = this.MinorGridlines.Clone();
            ta.ShowTitle = this.ShowTitle;
            ta.Title = this.Title.Clone();
            ta.HasNumberingFormat = this.HasNumberingFormat;
            ta.sFormatCode = this.sFormatCode;
            ta.bSourceLinked = this.bSourceLinked;
            ta.MajorTickMark = this.MajorTickMark;
            ta.MinorTickMark = this.MinorTickMark;
            ta.TickLabelPosition = this.TickLabelPosition;
            ta.ShapeProperties = this.ShapeProperties.Clone();
            ta.CrossingAxis = this.CrossingAxis;
            ta.IsCrosses = this.IsCrosses;
            ta.Crosses = this.Crosses;
            ta.CrossesAt = this.CrossesAt;
            ta.OtherAxisIsCrosses = this.OtherAxisIsCrosses;
            ta.OtherAxisCrosses = this.OtherAxisCrosses;
            ta.OtherAxisCrossesAt = this.OtherAxisCrossesAt;

            ta.Date1904 = this.Date1904;
            ta.AxisType = this.AxisType;
            ta.AutoLabeled = this.AutoLabeled;
            ta.iTickLabelSkip = this.iTickLabelSkip;
            ta.iTickMarkSkip = this.iTickMarkSkip;
            ta.LabelAlignment = this.LabelAlignment;
            ta.iLabelOffset = this.iLabelOffset;
            ta.ValueMajorUnit = this.ValueMajorUnit;
            ta.ValueMinorUnit = this.ValueMinorUnit;
            ta.BuiltInUnitValues = this.BuiltInUnitValues;
            ta.ShowDisplayUnitsLabel = this.ShowDisplayUnitsLabel;
            ta.BaseUnit = this.BaseUnit;
            ta.iMajorUnit = this.iMajorUnit;
            ta.vMajorTimeUnit = this.vMajorTimeUnit;
            ta.iMinorUnit = this.iMinorUnit;
            ta.vMinorTimeUnit = this.vMinorTimeUnit;
            ta.CrossBetween = this.CrossBetween;
            ta.NoMultiLevelLabels = this.NoMultiLevelLabels;

            return ta;
        }