MindFusion.Wpf Pack 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.Wpf
Assembly: MindFusion.Reporting.Wpf

 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. FixedDocumentRenderTarget class provides rendering of a report to a WPF FixedDocument.

 Example

The following example illustrates how to render a report to a FixedDocument. 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.Wpf.CanvasRenderTarget
MindFusion.Reporting.Wpf.FixedDocumentRenderTarget
MindFusion.Reporting.Wpf.ImageRenderTarget
MindFusion.Reporting.Wpf.IRenderTargetWithPages(T)
MindFusion.Reporting.Wpf.Export.HtmlRenderTargetBase
MindFusion.Reporting.Wpf.Export.VirtualGridRenderTarget

 See Also

IRenderTarget Members
MindFusion.Reporting.Wpf Namespace
FixedDocumentRenderTarget Class