Print GriddataboundGrid
HI,
I am using grid Data Bound Grid. I am trying to print the Grid. But its printing only what is shown on Scrren. I Need all Data should Be print.
Please resolve the problem ASAP.
Cheers
Tannearu Gupta
I am using grid Data Bound Grid. I am trying to print the Grid. But its printing only what is shown on Scrren. I Need all Data should Be print.
Please resolve the problem ASAP.
Cheers
Tannearu Gupta
SIGN IN To post a reply.
6 Replies
AD
Administrator
Syncfusion Team
November 29, 2006 12:48 PM UTC
Hi Tannearu,
The PrintToFit browser sample ( \Syncfusion\Essential Studio\4.3.0.25\windows\Grid.Windows\Samples\In Depth\PrintToFit\) shows you how to print a grid on a single page. It derives a GridPrintDocument class to handle the printing of the entire grid on a single page. It does this by drawing the full size grid to a large bitmap and then drawing this bitmap scaled to fit the output page.
Here is a path.
\Syncfusion\Essential Studio\4.3.0.25\windows\Grid.Windows\Samples\In Depth\PrintToFit\
Best Regards,
Haneef
The PrintToFit browser sample ( \Syncfusion\Essential Studio\4.3.0.25\windows\Grid.Windows\Samples\In Depth\PrintToFit\) shows you how to print a grid on a single page. It derives a GridPrintDocument class to handle the printing of the entire grid on a single page. It does this by drawing the full size grid to a large bitmap and then drawing this bitmap scaled to fit the output page.
Here is a path.
\Syncfusion\Essential Studio\4.3.0.25\windows\Grid.Windows\Samples\In Depth\PrintToFit\
Best Regards,
Haneef
TH
Tannearu Hazarathaiah Gupta
November 30, 2006 05:10 AM UTC
Hi Haneef,
Thanks for your reply. I am using grid data bound Grid and when i am trying to add following code its giving error.
GridPrintToFitDocument pd = new GridPrintToFitDocument(this.gridDataBoundGrid1, true);
is there any extra namesapce. Give me reply asap.
Please resolve the problem asap.
Cheers
Tannearu Gupta
Thanks for your reply. I am using grid data bound Grid and when i am trying to add following code its giving error.
GridPrintToFitDocument pd = new GridPrintToFitDocument(this.gridDataBoundGrid1, true);
is there any extra namesapce. Give me reply asap.
Please resolve the problem asap.
Cheers
Tannearu Gupta
TH
Tannearu Hazarathaiah Gupta
November 30, 2006 05:11 AM UTC
Hi Haneef,
Thanks for your reply. I am using grid data bound Grid and when i am trying to add following code its giving error.
GridPrintToFitDocument pd = new GridPrintToFitDocument(this.gridDataBoundGrid1, true);
is there any extra namesapce. Give me reply asap.
Please resolve the problem asap.
Thanks & Regards
Tannearu Gupta
Thanks for your reply. I am using grid data bound Grid and when i am trying to add following code its giving error.
GridPrintToFitDocument pd = new GridPrintToFitDocument(this.gridDataBoundGrid1, true);
is there any extra namesapce. Give me reply asap.
Please resolve the problem asap.
Thanks & Regards
Tannearu Gupta
AD
Administrator
Syncfusion Team
November 30, 2006 07:22 AM UTC
Hi Tannearu,
The GridPrintToFitDocument class derives a GridPrintDocument class to handle the printing of the entire grid on a single page. It does this by drawing the full size grid to a large bitmap and then drawing this bitmap scaled to fit the output page. You can copy the GridPrintToFitDocument class here and add to your application.
Use the below code to create the object of the GridPrintToFitDocument class.
GridPrintToFit.GridPrintToFitDocument pd = new GridPrintToFit.GridPrintToFitDocument(this.gridDataBoundGrid1, true);
Best Regards,
Haneef
The GridPrintToFitDocument class derives a GridPrintDocument class to handle the printing of the entire grid on a single page. It does this by drawing the full size grid to a large bitmap and then drawing this bitmap scaled to fit the output page. You can copy the GridPrintToFitDocument class here and add to your application.
Use the below code to create the object of the GridPrintToFitDocument class.
GridPrintToFit.GridPrintToFitDocument pd = new GridPrintToFit.GridPrintToFitDocument(this.gridDataBoundGrid1, true);
Best Regards,
Haneef
TH
Tannearu Hazarathaiah Gupta
November 30, 2006 10:33 AM UTC
Hi haneef,
Its not working. Can u post me any code snippet or example.
Please resolve the problem asap
Regards
Tannearu
Its not working. Can u post me any code snippet or example.
Please resolve the problem asap
Regards
Tannearu
AD
Administrator
Syncfusion Team
November 30, 2006 10:56 AM UTC
Hi Tannearu,
Please try the attached sample and let me know if this helps.
Here is a sample.
GDBGPrintToFit.zip
Best Regards,
Haneef
Please try the attached sample and let me know if this helps.
Here is a sample.
GDBGPrintToFit.zip
Best Regards,
Haneef
SIGN IN To post a reply.
- 6 Replies
- 2 Participants
-
TH Tannearu Hazarathaiah Gupta
- Nov 29, 2006 10:54 AM UTC
- Nov 30, 2006 10:56 AM UTC