The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team October 29, 2004 11:44 AM
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.
GRGordon RheaNovember 1, 2004 07:33 AM
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
ADAdministrator Syncfusion Team November 1, 2004 08:21 AM
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