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?)
ADAdministrator Syncfusion Team April 29, 2004 05:40 AM
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 08:02 AM
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?