Esempio n. 1
0
 /// <summary>
 /// Release the resources.
 /// </summary>
 public void Dispose() {
     if (_writer == null)
         return;
     _writer.Dispose();
     _writer = null;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new empty PDF
 /// </summary>
 public PdfFile() {
     _writer = new PdfWriter();
     _writer.AddPage(_pageWidthPt, _pageHeightPt);
     COMDisposable.Subscribe(this, typeof(ComInterfaces._PdfFile));
 }