Files
XplorePlane/XP.ReportEngine/Models/ReportGenerationOptions.cs

31 lines
791 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace XP.ReportEngine.Models
{
/// <summary>
/// 报告生成选项 | Report generation options
/// </summary>
public class ReportGenerationOptions
{
/// <summary>
/// 模板文件路径 | Template file path
/// </summary>
public string TemplatePath { get; set; }
/// <summary>
/// 输出文件路径(可选,为 null 时仅返回 MemoryStream| Output file path (optional)
/// </summary>
public string OutputFilePath { get; set; }
/// <summary>
/// 输出格式 | Output format
/// </summary>
public ReportOutputFormat Format { get; set; } = ReportOutputFormat.Pdf;
}
public enum ReportOutputFormat
{
Pdf,
Excel,
Csv
}
}