API Reference
InvoicePdfLayoutOptions
Controls generated labels and locale-sensitive formatting in the visible invoice PDF.
Inheritance
- Object
- InvoicePdfLayoutOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method PdfInvoiceDocument.Create
Constructors
public InvoicePdfLayoutOptions() #Creates the compatibility layout: English labels with invariant numbers and ISO dates.
Methods
public InvoicePdfLayoutOptions Clone() #InvoicePdfLayoutOptionsCreates an independent copy of language, appearance, approval and resource settings for deferred or batch processing.
public static InvoicePdfLayoutOptions ForCultures(params String[] cultureNames) #InvoicePdfLayoutOptionsCreates a localized or multilingual layout from built-in language packs. The first culture formats numbers and dates.
Parameters
- cultureNames System.String[]
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Int32 MaxInvoiceXmlBytes { get; set; } #Maximum source invoice XML bytes accepted for PDF presentation.
public Int32 MaxLineTextCharacters { get; set; } #Maximum visible text characters in a single invoice line item.
public Int32 MaxInvoiceLines { get; set; } #Maximum invoice line items accepted for PDF presentation.
public Int32 MaxGeneratedPages { get; set; } #Maximum pages generated during invoice PDF layout.
public Int32 MaxOutputBytes { get; set; } #Maximum serialized PDF bytes returned by invoice rendering.
public IList<InvoicePdfLanguagePack> Languages { get; } #Language packs displayed in order. Multiple packs produce multilingual labels.
public IList<InvoicePdfLineColumn> LineColumns { get; } #Ordered line-table columns. Choose two to eight distinct columns including Item and NetAmount. The default contains Item, Quantity, NetPrice, Vat and NetAmount.
public InvoicePdfCodeDisplay UnitCodeDisplay { get; set; } #Unit description mode. Defaults to the original machine-readable code.
public InvoicePdfCodeDisplay PaymentCodeDisplay { get; set; } #Payment description mode. Defaults to the original code; authored payment text is always retained.
public Boolean CompactDetails { get; set; } #Reduces spacing and table padding for document details while retaining their values.
public Boolean IncludePageIdentity { get; set; } #Uses the captured single-line invoice number (up to 80 characters) and localized page count as the text footer on every page. This replaces configured footer text, including first/even variants, while retaining header settings and footer graphics. Defaults to false.
public InvoicePdfTheme Theme { get; set; } #Optional visual theme. Leave null to retain the compact compatibility layout.
public Byte[] LogoBytes { get; set; } #Optional raster logo bytes shown in the modern header. Values are copied defensively.
public Double LogoWidth { get; set; } #Logo width in points. Defaults to 150.
public Double LogoHeight { get; set; } #Logo height in points. Defaults to 30.
public OfficeImageFit LogoFit { get; set; } #How the logo fits its width and height box. Defaults to Contain to preserve aspect ratio.
public String LogoAlternativeText { get; set; } #Alternate text for the logo when tagged PDF output is enabled.
public IList<InvoicePdfApproval> Approvals { get; } #Visible prepared/approved blocks placed after payment details. They do not create cryptographic PDF signatures.
public String LabelSeparator { get; set; } #Text placed between translations of the same generated label.
public CultureInfo FormattingCulture { get; set; } #Culture used for visible decimal and date formatting.
public String DateFormat { get; set; } #.NET date format used for visible dates. The default compatibility layout uses yyyy-MM-dd.