The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
How can I suppress the painting of the blue background of selections when printing. For example, if I select multiple cells and invoke print preview, the selections appear in the preview.
Can I simply turn off the painting of active selections? (or perhaps change the color?)
Thanks,
Steve
ADAdministrator Syncfusion Team April 29, 2004 09:40 AM UTC
I tried to see this problem in this sample, and could not. The selections notrmally are not drawn during printing.
Have you done something special to color teh selections, maybe handling PrepareViewStyleInfo or something. If so, you might check grid.PrintingMode before setting any selection colors in PrepareViewStyleInfo.
You can try setting the
this.gridControl1.AlphaBlendSelectionColor = Color.FromArgb(1,0,0,0);
during printing as this will essentially make the color invisible.
STSteveApril 29, 2004 12:02 PM UTC
I''ve duplicated the issue in the PrintToFit example, in which I highlight A1:B5 and press print preview and the highlight is showing in the print preview pane.
I still haven''t upgraded to 2.0 yet, so perhaps this was fixed?
Thanks,
Steve