title: How to remove header and footer in pdf
body: <p>generate html content to pdf using IronPdf, but in pdf generate 3 pages header content and footer in separate pages , how to display in single page hole content.</p>
  <pre><code>   var Renderer = new IronPdf.HtmlToPdf();
              //Renderer.PrintOptions.Header.DrawDividerLine = false;
              //Renderer.PrintOptions.Footer.DrawDividerLine = false;
              Renderer.PrintOptions.PaperSize = PdfPrintOptions.PdfPaperSize.A4;
              Renderer.PrintOptions.CssMediaType = PdfPrintOptions.PdfCssMediaType.Screen;
              Renderer.PrintOptions.PaperOrientation = PdfPrintOptions.PdfPaperOrientation.Portrait;
            //  Renderer.PrintOptions.MarginTop = 10;  //millimeters
             // Renderer.PrintOptions.MarginBottom = 10;
              Renderer.PrintOptions.Zoom = 125;
              //Renderer.PrintOptions.FirstPageNumber = 1;
              Renderer.PrintOptions.CreatePdfFormsFromHtml = true;
              Renderer.PrintOptions.FitToPaperWidth = true;
              Renderer.PrintOptions.InputEncoding = Encoding.UTF8;
              Renderer.PrintOptions.FitToPaperWidth = true;
  </code></pre>
  <p>pdf will be generate like this: <a href="https://i.stack.imgur.com/phiie.png" rel="nofollow noreferrer">enter image description here</a></p>