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