i change font report and size font
when user select fon from dropdownlist font report chang
Code: Select all
StiStyle d = new StiStyle("zar");
d.Font.FontFamily.Name = "zar";
thanks:emb:
Code: Select all
StiStyle d = new StiStyle("zar");
d.Font.FontFamily.Name = "zar";
Code: Select all
Stimulsoft.Report.StiStyle StyleZar = new Stimulsoft.Report.StiStyle();
StyleZar.Name = "Zar";
StyleZar.Border = new Stimulsoft.Base.Drawing.StiBorder(Stimulsoft.Base.Drawing.StiBorderSides.None, System.Drawing.Color.Black, 1,
Stimulsoft.Base.Drawing.StiPenStyle.Solid, false, 4, new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black));
StyleZar.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
StyleZar.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold);
StyleZar.TextBrush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Black);
Styles.Clear();
Styles.AddRange(new Stimulsoft.Report.StiBaseStyle[] {StyleZar});
Text1.ComponentStyle = "Zar";
Code: Select all
Styles.Clear();
Styles.AddRange(new Stimulsoft.Report.StiBaseStyle[] {StyleZar});
Text1.ComponentStyle = "Zar";