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; }
/// <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); }
/// <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); }
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; }