phronCare/Transversal/Models/PdfGenerationOptions.cs

16 lines
520 B
C#

using PuppeteerSharp.Media;
namespace Transversal.Models
{
public class PdfGenerationOptions
{
public PaperFormat Format { get; set; } = PaperFormat.A4;
public bool Landscape { get; set; } = false;
public bool PrintBackground { get; set; } = true;
public decimal Scale { get; set; } = 1.0m;
public MarginOptions Margins { get; set; } = null;
public string HeaderTemplate { get; set; } = null;
public string FooterTemplate { get; set; } = null;
}
}