Interface IPrintable
Represents an interface for printable objects.
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
RadPrintDocument
sender
The |
System.Drawing.Printing.PrintEventArgs
args
The event args. |
Returns
System.Int32
The number of pages. |
EndPrint(RadPrintDocument, PrintEventArgs)
Called when the printing ends.
Declaration
bool EndPrint(RadPrintDocument sender, PrintEventArgs args)
Parameters
RadPrintDocument
sender
The |
System.Drawing.Printing.PrintEventArgs
args
The event args. |
Returns
System.Boolean
[false] if cancel |
GetSettingsDialog(RadPrintDocument)
Gets a print settings dialog that is specific for the printable object.
Declaration
Form GetSettingsDialog(RadPrintDocument document)
Parameters
RadPrintDocument
document
The |
Returns
System.Windows.Forms.Form
The dialog. |
PrintPage(Int32, RadPrintDocument, PrintPageEventArgs)
Prints the page with the specified number.
Declaration
bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)
Parameters
System.Int32
pageNumber
The number of the current page. |
RadPrintDocument
sender
The |
System.Drawing.Printing.PrintPageEventArgs
args
The event args. |
Returns
System.Boolean
[true] if there are more pages, [false] otherwise |