public ExcelFontData() { this.ColorIndex = -1; this.Name = "Arial"; this.Color = System.Drawing.Color.Black; this.Weight = 400; this.Size = 200; this.ScriptPosition = ebexcel.ScriptPosition.Normal; this.UnderlineStyle = ebexcel.UnderlineStyle.None; }
public ExcelFontData(ExcelFontData source) { this.ColorIndex = -1; this.Name = "Arial"; this.Color = System.Drawing.Color.Black; this.Weight = 400; this.Size = 200; this.ScriptPosition = ebexcel.ScriptPosition.Normal; this.UnderlineStyle = ebexcel.UnderlineStyle.None; this.Name = source.Name; this.Color = source.Color; this.Weight = source.Weight; this.Size = source.Size; this.Italic = source.Italic; this.Strikeout = source.Strikeout; this.ScriptPosition = source.ScriptPosition; this.UnderlineStyle = source.UnderlineStyle; }