Interface
IPrintable

Represents an interface for printable objects.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public interface IPrintable

Methods

BeginPrint(RadPrintDocument, PrintEventArgs)

Called when the printing begins.

Declaration

cs-api-definition
int BeginPrint(RadPrintDocument sender, PrintEventArgs args)

Parameters

sender

RadPrintDocument

The that has initiated the printing.

args

PrintEventArgs

The event args.

Returns

int

The number of pages.

EndPrint(RadPrintDocument, PrintEventArgs)

Called when the printing ends.

Declaration

cs-api-definition
bool EndPrint(RadPrintDocument sender, PrintEventArgs args)

Parameters

sender

RadPrintDocument

The that has initiated the printing.

args

PrintEventArgs

The event args.

Returns

bool

[false] if cancel

GetSettingsDialog(RadPrintDocument)

Gets a print settings dialog that is specific for the printable object.

Declaration

cs-api-definition
Form GetSettingsDialog(RadPrintDocument document)

Parameters

document

RadPrintDocument

The that has initiated the printing.

Returns

Form

The dialog.

PrintPage(int, RadPrintDocument, PrintPageEventArgs)

Prints the page with the specified number.

Declaration

cs-api-definition
bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)

Parameters

pageNumber

int

The number of the current page.

sender

RadPrintDocument

The that has initiated the printing.

args

PrintPageEventArgs

The event args.

Returns

bool

[true] if there are more pages, [false] otherwise