Exemplo n.º 1
0
        public void StopRenderer()
        {
            fontSetup.AddToResources(new PdfFontCreator(pdfCreator), pdfCreator.GetResources());
            pdfCreator.OutputTrailer();

            pdfCreator       = 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;
        }
Exemplo n.º 2
0
 /// <summary>
 /// </summary>
 /// <param name="fontInfo"></param>
 public void SetupFontInfo(FontInfo fontInfo)
 {
     this.fontInfo  = fontInfo;
     this.fontSetup = new FontSetup(
         fontInfo, (options == null) ? FontType.Link : options.FontType);
 }
Exemplo n.º 3
0
 /// <summary>
 /// </summary>
 /// <param name="fontInfo"></param>
 public void SetupFontInfo(FontInfo fontInfo) {
     this.fontInfo = fontInfo;
     this.fontSetup = new FontSetup(
         fontInfo, (options == null) ? FontType.Link : options.FontType);
 }
Exemplo n.º 4
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;
        }