New to Telerik UI for WinFormsStart a free 30-day trial

Overview

Updated over 6 months ago

RadPrintDocument is used to send output to a printer. The RadPrintDocument can be used in the VS designer as described in Design time article or can be created and used at run time. The most common scenario of using RadPrintDocument is to create an instance, set the properties that describe how the page is printed, set the AssociatedObject property to an instance of an object implementing the IPrintable interface and call the Print method to send the print job to the printer. Here is how this looks like in C# and VB:

C#
RadPrintDocument document = new RadPrintDocument();
document.DefaultPageSettings.Landscape = true;
document.DefaultPageSettings.PrinterSettings.Copies = 2;
document.AssociatedObject = this.radGridView1;
document.Print();

tpf-printing-support-radprintdocument

See Also

In this article
See Also
Not finding the help you need?
Contact Support