示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="creator"></param>
 public PdfFontCreator(PdfCreator creator)
 {
     this.creator = creator;
 }
示例#2
0
 /// <summary>
 ///     Create the PDF renderer.
 /// </summary>
 internal PdfRenderer(Stream stream) {
     this.pdfDoc = new PdfCreator(stream);
 }
示例#3
0
        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;
        }
示例#4
0
 /// <summary>
 ///     
 /// </summary>
 /// <param name="creator"></param>
 public PdfFontCreator(PdfCreator creator)
 {
     this.creator = creator;
 }