/// <summary> /// /// </summary> /// <param name="creator"></param> public PdfFontCreator(PdfCreator creator) { this.creator = creator; }
/// <summary> /// Create the PDF renderer. /// </summary> internal PdfRenderer(Stream stream) { this.pdfDoc = new PdfCreator(stream); }
public void StopRenderer() { fontSetup.AddToResources(new PdfFontCreator(pdfDoc), pdfDoc.getResources()); pdfDoc.outputTrailer(); pdfDoc = null; pdfResources = null; currentStream = null; currentAnnotList = null; currentPage = null; idReferences = null; currentFontName = String.Empty; currentFill = null; prevUnderlineColor = null; prevOverlineColor = null; prevLineThroughColor = null; fontSetup = null; fontInfo = null; }