title: Select.Pdf load existing .pdf
body: <p>The documentation for Select.Pdf for .Net v 2.22 uses the following code snippet to load an existing document. However, in the actual library there is no constructor with that takes a string as a parameter. Is anyone aware of how to load an existing .pdf? I am using the Community Edition of this product as well.  </p>
  
  <pre><code>string file = Server.MapPath("~/files/doc1.pdf");
  
  // load the pdf document
  PdfDocument doc = new PdfDocument(file);
  
  // add a new page to the document
  PdfPage page = doc.AddPage();
  
  // create a new pdf font (component standard font)
  PdfFont font = doc.AddFont(PdfStandardFont.Helvetica);
  font.Size = 20;
  
  // create text element and add it to the new page
  PdfTextElement text = new PdfTextElement(100, 100,
      "Sample text added to an existing pdf document.", font);
  page.Add(text);
  
  // save pdf document
  doc.Save(Response, false, "Sample.pdf");
  
  // close pdf document
  doc.Close();
  </code></pre>