Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

PdfSettings.cs

using Nop.Core.Configuration;

namespace Nop.Core.Domain.Common;

/// <summary>
/// PDF settings
/// </summary>
public partial class PdfSettings : ISettings
{
    /// <summary>
    /// PDF logo picture identifier
    /// </summary>
    public int LogoPictureId { get; set; }

    /// <summary>
    /// Gets or sets whether letter page size is enabled
    /// </summary>
    public bool LetterPageSizeEnabled { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether to render order notes in PDf reports
    /// </summary>
    public bool RenderOrderNotes { get; set; }

    /// <summary>
    /// Gets or sets a value indicating whether to disallow customers to print PDF invoices for pending orders
    /// </summary>
    public bool DisablePdfInvoicesForPendingOrders { get; set; }

    /// <summary>
    /// Gets or sets the font name that will be used
    /// </summary>
    public string LtrFontName { get; set; }

    /// <summary>
    /// Gets or sets the font name that will be used
    /// </summary>
    public string RtlFontName { get; set; }

    /// <summary>
    /// Gets or sets the text that will appear at the bottom of invoices (column 1)
    /// </summary>
    public string InvoiceFooterTextColumn1 { get; set; }

    /// <summary>
    /// Gets or sets the text that will appear at the bottom of invoices (column 1)
    /// </summary>
    public string InvoiceFooterTextColumn2 { get; set; }

    /// <summary>
    /// Gets or sets the default font size
    /// </summary>
    public float BaseFontSize { get; set; }

    /// <summary>
    /// Gets or sets the size required to scale images before rendering
    /// </summary>
    public int ImageTargetSize { get; set; }
}