We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selctions and Printing

Thread ID:





13454 Apr 28,2004 07:48 PM UTC Apr 29,2004 12:02 PM UTC WinForms 2
Tags: GridControl
Asked On April 28, 2004 07:48 PM UTC

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

Administrator [Syncfusion]
Replied On 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.

Replied On April 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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon