Prepares the underlying report for printing by layouting and rendering it. The prepared report can be subsequently printed through a call to the PrintPrepared method.
Namespace: MindFusion.Reporting.Silverlight
Assembly: MindFusion.Reporting.Silverlight
C# Copy Code |
---|
public void PreparePrint ( |
Visual Basic Copy Code |
---|
Public Sub PreparePrint( _ |
The size of the paper to print on, expressed in device-independent pixels.
The margin around the printed content on each page, expressed in device-independent pixels.
This method is useful when printing large reports. The strategy is to prepare the reports beforehand and only call PrintPrepared when the user initiates a printing action. Therefore avoiding the possibility of a Silverlight exception if the report rendering takes too long.