Class PrintOutReportWinForms
Report processing driver allowing report properties alteration like parameters and page setup. This is the recommended driver for Windows.Forms applications
Implements
Inherited Members
Namespace: Reportman.Reporting.Forms
Assembly: Reportman.Reporting.Forms.dll
Syntax
public class PrintOutReportWinForms : PrintOutWinForms, IDisposable
Examples
Report rp=new Report();
rp.LoadFromFile("test.rep");
PrintOutReportWinForms prw=new PrintOutReportWinForms(rp);
prw.Preview=true;
prw.ShowPrintDialog=true;
prw.Print(rp.MetaFile);
Constructors
PrintOutReportWinForms(Report)
Constructor
Declaration
public PrintOutReportWinForms(Report rp)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | rp | Report to process |
Fields
PreviewPageSetupVisible
Set this property to false to disable the option to show page setup on preview window
Declaration
public bool PreviewPageSetupVisible
Field Value
| Type | Description |
|---|---|
| bool |
PreviewParametersVisible
Set this property to false to disable the option to show report parameters on preview window
Declaration
public bool PreviewParametersVisible
Field Value
| Type | Description |
|---|---|
| bool |
Properties
Report
Get the report being processed
Declaration
public Report Report { get; }
Property Value
| Type | Description |
|---|---|
| Report |
Methods
Dispose()
Free memory consumed by graphics resources
Declaration
public override void Dispose()
Overrides
SetReportEvents()
Internally used to assign events for report alteration, report parameters and page setup
Declaration
protected override void SetReportEvents()