Ejemplo n.º 1
0
 public PdfCreator(PdfCompressorSettings settings, string newPdf, PdfMeta meta, float dpi)
 {
     _ocrController = new OcrController();
     PdfSettings    = settings;
     PdfFilePath    = newPdf;
     SetupDocumentWriter(newPdf, meta.Author, meta.Title, meta.Subject, meta.KeyWords);
     _hDoc = new HDocument(dpi);
     _dpi  = dpi;
 }
Ejemplo n.º 2
0
 public PdfCompressor(string ghostScriptPath, PdfCompressorSettings settings = null)
 {
     PdfSettings     = settings ?? new PdfCompressorSettings();
     GhostScriptPath = ghostScriptPath;
 }