Printed Page Margins

Hello,
I'm trying to find a simple way to change the default margins of a printed page that contains a grid.

My grid is not that wide and I'd like to print it on a single page, but when I want to print it (because page margins are narrow) a couple of columns get cut off and printed on a second page. I know I could make all columns narrower and fit them on a single page, but I don't really want to do that.

Is there a simple way, or any other way, to change printed page margins to different values than default? I feel it very hard to find any help on this issue.

I'd appreciate any help.

Thanks...

3 Replies

SC Sanir Cosovic October 10, 2007 09:28 PM UTC

Okay, I've figured this one out. Using PageSettings.Margins I can control them. Very nice.

Now there is a different issue. In my print preview there is a border drawn around the grid. How can I remove this border?

Please and thanks...


AD Administrator Syncfusion Team October 12, 2007 08:51 AM UTC

Try setting this property.

gridControl1.Properties.PrintFrame = false;


SC Sanir Cosovic October 13, 2007 02:10 PM UTC

Thanks a lot. This worked perfectly.

Loader.
Up arrow icon