Exemple #1
0
 internal void FromNegativeFillColor(X14.NegativeFillColor 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();
 }
Exemple #2
0
        internal X14.NegativeFillColor ToNegativeFillColor()
        {
            var clr = new X14.NegativeFillColor();

            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);
        }
Exemple #3
0
        internal X14.NegativeFillColor ToNegativeFillColor()
        {
            X14.NegativeFillColor clr = new X14.NegativeFillColor();
            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);
        }
        internal X14.NegativeFillColor ToNegativeFillColor()
        {
            X14.NegativeFillColor clr = new X14.NegativeFillColor();
            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;
        }