[]
        
(Showing Draft Content)

C1.WPF.Report.FlexReport

FlexReport Class

Generates data-based banded reports that can be rendered to printer, preview, or exported to various portable formats (including HTML, PDF and other).

Inheritance
C1DocumentSource
FlexReport
FlexReport
Implements
Namespace: C1.WPF.Report
Assembly: C1.WPF.Report.dll
Syntax
public class FlexReport : FlexReport, IComponent, IDisposable
Public Class FlexReport
    Inherits FlexReport
    Implements IComponent, IDisposable

Constructors

Name Description
FlexReport()

Initializes a new instance of the FlexReport class.

Properties

Name Description
MeasurementDevice

Gets or sets the type of device used to provide System.Drawing.Graphics used to measure/calculate layouts of FlexReport objects, when used GDI/GDI+ functions. If this property is set to C1.Document.MeasurementDevice.Printer, MeasurementPrinterName specifies the printer.

MeasurementPrinterName

Gets or sets the name of the printer used to provide System.Drawing.Graphics used to measure/calculate layouts of FlexReport objects, when used GDI/GDI+ functions. This property is only used if MeasurementDevice is set to C1.Document.MeasurementDevice.Printer.

PageSettings

Overriden. This is shortcut to the page settings returned by the C1.Report.FlexReport.Layout object accessible via the C1.Report.FlexReport.Layout property.

SupportedExportProviders

Overridden. Gets an array of exporters supported by the current document source object.

Methods

Name Description
CreateDocument()

Creates new instance of C1.Document.C1Document

CreateField(XmlNodeWrapperBase, string)
CreateScriptEngine()

Returns new instance of C1.Report.ScriptEngine.ScriptEngine.

FinalizeRendering()
GetPageImage(int)

Returns a System.Drawing.Imaging.Metafile representing the specified page.

GetPageImage(int, Graphics)

Returns a System.Drawing.Imaging.Metafile representing the specified page.

InitializeRendering(IExecutionContext)
InternalRenderSubreport(IExecutionContext, string, ReportParameterValues)

Render as subreport. This method uses following properties:

  • _owner.
OnLongOperation(double, bool)

Overriden. Raises the C1.Document.C1DocumentSource.LongOperation event