C# Class Pdf.Storage.PdfMerge.PdfMerger

Inheritance: IPdfMerger
Exibir arquivo Open project: by-pinja/pdf-storage

Public Methods

Method Description
PdfMerger ( IWebHostEnvironment env, IStorage pdfStorage, PdfDataContext context, ILogger logger ) : System

Private Methods

Method Description
CreateProcess ( string workingDir, string fileName, string arguments ) : Process
GetCorrectProcessForSystem ( string tempPath, IEnumerable tempFiles ) : Process
MergeFiles ( string tempPath, IEnumerable tempFiles ) : byte[]
MergePdf ( StorageFileId storageIdForMergedPdf, Array pdfIds ) : void
ResolveTemporaryDirectory ( ) : string

Method Details

PdfMerger() public method

public PdfMerger ( IWebHostEnvironment env, IStorage pdfStorage, PdfDataContext context, ILogger logger ) : System
env IWebHostEnvironment
pdfStorage IStorage
context PdfDataContext
logger ILogger
return System