public FormattingOptions() { this.DefaultFont = new FontDesc("Segoe UI",8.0f); float TitleFontSizeEmSize = this.DefaultFont.EmSize + 5.0f; this.ChartTitleFont = new FontDesc("Segoe UI Semibold", TitleFontSizeEmSize); if (this.Palette == null) { this.Palette = PaletteBuilder.GetDefaultPalette(); } this.RadialGradientStyle = MSCHART.GradientStyle.LeftRight; }
public FormattingOptions() { this.DefaultFont = new FontDesc("Segoe UI", 8.0f); float TitleFontSizeEmSize = this.DefaultFont.EmSize + 5.0f; this.ChartTitleFont = new FontDesc("Segoe UI Semibold", TitleFontSizeEmSize); if (this.Palette == null) { this.Palette = PaletteBuilder.GetDefaultPalette(); } this.RadialGradientStyle = MSCHART.GradientStyle.LeftRight; }
public FontDesc Clone() { var o = new FontDesc(this.Name,this.EmSize); return o; }
public FontDesc Clone() { var o = new FontDesc(this.Name, this.EmSize); return(o); }