using System;
using System.Collections.Generic;
using System.Text;
namespace FastReport.Web.Services
{
///
/// Interface for printing the report.
///
///
/// The interface may change over time
///
public interface IPrintService
{
///
/// Prints report
///
/// WebReport to be printed
/// The print mode is "pdf" or "html".
/// 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"
byte[] PrintReport(WebReport webReport, string printMode);
}
}