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.
Unfortunately, activation email could not send to your email. Please try again.

Selctions and Printing

Thread ID:

Created:

Updated:

Platform:

Replies:

13454 Apr 28,2004 03:48 PM Apr 29,2004 08:02 AM Windows Forms 2
loading
Tags: GridControl
Steve
Asked On April 28, 2004 03:48 PM

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 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.

Steve
Replied On April 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? Thanks, Steve

CONFIRMATION

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.

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.

;