internal SLConditionalFormat Clone()
        {
            SLConditionalFormat cf = new SLConditionalFormat();
            cf.Scope = this.Scope;
            cf.Type = this.Type;
            cf.Priority = this.Priority;

            cf.PivotAreas = new List<SLPivotArea>();
            foreach (SLPivotArea pa in this.PivotAreas)
            {
                cf.PivotAreas.Add(pa.Clone());
            }

            return cf;
        }
Пример #2
0
        internal SLConditionalFormat Clone()
        {
            SLConditionalFormat cf = new SLConditionalFormat();

            cf.Scope    = this.Scope;
            cf.Type     = this.Type;
            cf.Priority = this.Priority;

            cf.PivotAreas = new List <SLPivotArea>();
            foreach (SLPivotArea pa in this.PivotAreas)
            {
                cf.PivotAreas.Add(pa.Clone());
            }

            return(cf);
        }