namespace XP.ReportEngine.Models
{
///
/// 报告生成选项 | Report generation options
///
public class ReportGenerationOptions
{
///
/// 模板文件路径 | Template file path
///
public string TemplatePath { get; set; }
///
/// 输出文件路径(可选,为 null 时仅返回 MemoryStream)| Output file path (optional)
///
public string OutputFilePath { get; set; }
///
/// 输出格式 | Output format
///
public ReportOutputFormat Format { get; set; } = ReportOutputFormat.Pdf;
}
public enum ReportOutputFormat
{
Pdf,
Excel,
Csv
}
}