API Reference
Class
InvoicePdfTheme
Defines the colors and geometry used by the optional modern invoice presentation.
Inheritance
- Object
- InvoicePdfTheme
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
- Property InvoicePdfLayoutOptions.Theme
- Method InvoicePdfTheme.Modern
Constructors
public InvoicePdfTheme() #Methods
public static InvoicePdfTheme Modern(PdfColor accent) #Returns:
InvoicePdfThemeCreates a modern theme from one brand accent while retaining accessible neutral colors.
Parameters
- accent OfficeIMO.Pdf.PdfColor
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public PdfColor Accent { get; set; } #Primary accent used for headings, table headers, and highlighted totals.
public PdfColor Text { get; set; } #Primary text color.
public PdfColor MutedText { get; set; } #Secondary text color.
public PdfColor Surface { get; set; } #Soft background used for cards and alternating rows.
public PdfColor Border { get; set; } #Border and separator color.
public Double CornerRadius { get; set; } #Corner radius in points for cards and tables.