internal void FromNegativeColor(X14.NegativeColor 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(); }
internal X14.NegativeColor ToNegativeColor() { var clr = new X14.NegativeColor(); 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); }
internal X14.NegativeColor ToNegativeColor() { X14.NegativeColor clr = new X14.NegativeColor(); 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.NegativeColor ToNegativeColor() { X14.NegativeColor clr = new X14.NegativeColor(); 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; }