namespace ElectronNET.API.Entities
{
///
///
///
public class PrintToPDFOptions
{
///
/// Specifies the type of margins to use. Uses 0 for default margin, 1 for no
/// margin, and 2 for minimum margin.
///
public int MarginsType { get; set; }
///
/// Specify page size of the generated PDF. Can be A3, A4, A5, Legal, Letter,
/// Tabloid or an Object containing height and width in microns.
///
public string PageSize { get; set; }
///
/// Whether to print CSS backgrounds.
///
public bool PrintBackground { get; set; }
///
/// Whether to print selection only.
///
public bool PrintSelectionOnly { get; set; }
///
/// true for landscape, false for portrait.
///
public bool Landscape { get; set; }
}
}