How to print the worksheets in spreadsheet?
Spreadsheet Control allows you to print the worksheets in spreadsheet by using the GridControl Printing Support.
The Print Preview feature of GridControl populates a print dialog that allows you to preview the output and make required modifications if necessary, before sending the content for printing. You can invoke the Grid Print Dialog box using the following Code example.
C#
this.spreadSheetControl.GridProperties.ActiveSpreadsheetGrid.ShowPrintDialog();
The following Screenshot displays the output for the above code
Click the Print button to send the content to the printer for printing. The Print feature in GridControl allows you to directly print the content in Spreadsheet Grid.
The following code illustrates the direct printing in Spreadsheet Control.
C#
this.spreadSheetControl.GridProperties.ActiveSpreadsheetGrid.Print()
Conclusion
I hope you enjoyed learning about how to print the worksheets in spreadsheet.
You can refer to our WPF Spreadsheet feature tour
page to know about its
other groundbreaking feature representations. You can also explore our
WPF Spreadsheet documentation
to understand how to create and
manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!