Beispiel #1
0
 internal void FromSeriesColor(X14.SeriesColor clr)
 {
     SetAllNull();
     if (clr.Auto != null)
     {
         Auto = clr.Auto.Value;
     }
     if (clr.Indexed != null)
     {
         Indexed = clr.Indexed.Value;
     }
     if (clr.Rgb != null)
     {
         Rgb = clr.Rgb.Value;
     }
     if (clr.Theme != null)
     {
         Theme = clr.Theme.Value;
     }
     if (clr.Tint != null)
     {
         Tint = clr.Tint.Value;
     }
     SetDisplayColor();
 }
Beispiel #2
0
        internal X14.SeriesColor ToSeriesColor()
        {
            var clr = new X14.SeriesColor();

            if (Auto != null)
            {
                clr.Auto = Auto.Value;
            }
            if (Indexed != null)
            {
                clr.Indexed = Indexed.Value;
            }
            if (Rgb != null)
            {
                clr.Rgb = new HexBinaryValue(Rgb);
            }
            if (Theme != null)
            {
                clr.Theme = Theme.Value;
            }
            if ((Tint != null) && (Tint.Value != 0.0))
            {
                clr.Tint = Tint.Value;
            }

            return(clr);
        }
Beispiel #3
0
        internal X14.SeriesColor ToSeriesColor()
        {
            X14.SeriesColor clr = new X14.SeriesColor();
            if (this.Auto != null)
            {
                clr.Auto = this.Auto.Value;
            }
            if (this.Indexed != null)
            {
                clr.Indexed = this.Indexed.Value;
            }
            if (this.Rgb != null)
            {
                clr.Rgb = new HexBinaryValue(this.Rgb);
            }
            if (this.Theme != null)
            {
                clr.Theme = this.Theme.Value;
            }
            if (this.Tint != null && this.Tint.Value != 0.0)
            {
                clr.Tint = this.Tint.Value;
            }

            return(clr);
        }
Beispiel #4
0
        internal X14.SeriesColor ToSeriesColor()
        {
            X14.SeriesColor clr = new X14.SeriesColor();
            if (this.Auto != null) clr.Auto = this.Auto.Value;
            if (this.Indexed != null) clr.Indexed = this.Indexed.Value;
            if (this.Rgb != null) clr.Rgb = new HexBinaryValue(this.Rgb);
            if (this.Theme != null) clr.Theme = this.Theme.Value;
            if (this.Tint != null && this.Tint.Value != 0.0) clr.Tint = this.Tint.Value;

            return clr;
        }