MindFusion.Reporting for Silverlight Programmer's Guide
IRenderTarget Interface
Remarks See Also
 





Represents an object, which can be used as a target of a report rendering operation. An instance of this class is supplied to the RenderPage or RenderAllPages methodReportLayout class.

Namespace: MindFusion.Reporting.Silverlight
Assembly: MindFusion.Reporting.Silverlight

 Syntax

C#  Copy Code

public interface IRenderTarget

Visual Basic  Copy Code

Public Interface IRenderTarget

 Remarks

This interface provides an abstraction between the report and the output format. The report can be exported to various formats using different implementations of this interface.

 Example

The following example illustrates how to render a report to a Canvas. The report is identified by the report variable and is expected to be initialized and run already.

C#  Copy Code

ReportLayout layout = report.Layout(
    new Size(8.5 * 96, 11 * 96), new Thickness(0.5 * 96),
    MindFusion.Reporting.PageOrientation.Portrait);

Visual Basic  Copy Code

Dim layout = report.Layout( _
    New Size(8.5 * 96, 11 * 96), New Thickness(0.5 * 96), _
    MindFusion.Reporting.PageOrientation.Portrait)

 Inheritors

MindFusion.Reporting.Silverlight.CanvasRenderTarget
MindFusion.Reporting.Silverlight.IRenderTargetWithPages(T)
MindFusion.Reporting.Silverlight.Export.HtmlRenderTargetBase
MindFusion.Reporting.Silverlight.Export.VirtualGridRenderTarget

 See Also

IRenderTarget Members
MindFusion.Reporting.Silverlight Namespace