title: How to Define a PDF Outline Using MigraDoc
body: <p>I noticed when using MigraDoc that if I add a paragraph with any of the heading styles (e.g., "Heading1"), an entry is automatically placed in the document outline.  My question is, how can I add entries in the document outline without showing the text in the document?  Here is an example of my code:</p>
  
  <pre><code>var document = new Document();
  var section = document.AddSection();
  // The following line adds an entry to the document outline, but it also
  //     adds a line of text to the current section.  How can I add an
  //     entry to the document outline without adding any text to the page?
  var paragraph = section.AddParagraph("TOC Level 1", "Heading1");
  </code></pre>