Interface IPrintService
Interface for printing the report.
Namespace: FastReport.Web.Services
Assembly: FastReport.OpenSource.Web.dll
Syntax
public interface IPrintService
Remarks
The interface may change over time
Methods
PrintReport(WebReport, String)
Prints report
Declaration
byte[] PrintReport(WebReport webReport, string printMode)
Parameters
Type | Name | Description |
---|---|---|
WebReport | webReport | WebReport to be printed |
System.String | printMode | The print mode is "pdf" or "html". |
Returns
Type | Description |
---|---|
System.Byte[] | Returns an array of bytes depending on the print mode. File to print from browser if print mode is "html" and pdf file if print mode is "pdf" |