InterfaceIPrintable
Represents an interface for printable objects.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public interface IPrintable
Methods
BeginPrint(RadPrintDocument, PrintEventArgs)
Called when the printing begins.
Declaration
int BeginPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters
sender
The that has initiated the printing.
args
The event args.
Returns
The number of pages.
EndPrint(RadPrintDocument, PrintEventArgs)
Called when the printing ends.
Declaration
bool EndPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters
sender
The that has initiated the printing.
args
The event args.
Returns
[false] if cancel
GetSettingsDialog(RadPrintDocument)
Gets a print settings dialog that is specific for the printable object.
Declaration
Form GetSettingsDialog(RadPrintDocument document)
Parameters
document
The that has initiated the printing.
Returns
The dialog.
PrintPage(int, RadPrintDocument, PrintPageEventArgs)
Prints the page with the specified number.
Declaration
bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)
Parameters
pageNumber
The number of the current page.
sender
The that has initiated the printing.
args
The event args.
Returns
[true] if there are more pages, [false] otherwise