C# Класс Worki.Service.InvoiceService

Наследование: IInvoiceService
Показать файл Открыть проект

Открытые методы

Метод Описание
GenerateInvoice ( MemoryStream stream, Invoice invoiceData ) : void
InvoiceService ( ILogger logger ) : System

Приватные методы

Метод Описание
AddCell ( PdfPTable table, string text, int align, int border, int colspan = 1, float borderWidth = 0.5f, Font font = null ) : void
AddCellHeader ( PdfPTable table, string text ) : void
AddPageWithTable ( Document doc, Invoice invoiceData ) : void

Add all the booking content

AddParagraph ( Document doc, int alignment, Font font, IElement content ) : void

Add a paragraph object containing the specified element to the PDF document.

SetStandardPageSize ( Document doc ) : void

Set margins and page size for the document

Описание методов

GenerateInvoice() публичный Метод

public GenerateInvoice ( MemoryStream stream, Invoice invoiceData ) : void
stream System.IO.MemoryStream
invoiceData Worki.Data.Models.Invoice
Результат void

InvoiceService() публичный Метод

public InvoiceService ( ILogger logger ) : System
logger ILogger
Результат System