Hello.
My reports have some colors to show data. When the report is printed in a laser printer, the print i'ts not good, some light.
My customer ask me: Is it possible show color on screen and change the color on print time?
Thank you!
Print black and white
Re: Print black and white
Hello.
You could use code like next in the Printing event:
Thank you.
You could use code like next in the Printing event:
Code: Select all
foreach (StiPage page in RenderedPages)
{
foreach (StiComponent comp in page.Components)
{
if (comp.Name == "Text1")
{
(comp as StiText).Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Transparent);
}
}
}