Grid printing question

Hi, I''m trying to print a grid and I had a couple of questions. 1) Is there a way to autosize the GridPrintDocument so that it always fits on the defined page? 2) Is there an easy way to add information to the print document. eg. File name, last change date, etc. Thanks, Gordon

3 Replies

AD Administrator Syncfusion Team October 29, 2004 04:44 PM UTC

There are several KB''s on printing including this one that shows how you can print fotters and headers. It takes some coding. http://www.syncfusion.com/Support/article.aspx?id=10376 To fit things on one page, take a look at the Grid\Samples\In Depth\PrintToFit sample.


GR Gordon Rhea November 1, 2004 12:33 PM UTC

The grid samples show how to fit the entire grid onto one page. This is not what I need. I need the printing to have all the columns shurnk to fit on a page but still break the rows into pages. Once there are a couple hundred rows it is too small to read on one page. Thanks, Gordon


AD Administrator Syncfusion Team November 1, 2004 01:21 PM UTC

I do not know of a simple way to do this. One option you could try is to zoom out the grid so all the columns fit in one page width, and then print this zoomed grid. We do not have direct support for zooming yet, but here is a forum thread with a sample of how you might try to do it yourself. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=6367

Loader.
Up arrow icon