Table Headers

For HTML containing a table that will span more than one page, use the CssMediaType. Print. This will make table header be repeated on the top of every extended page.

Renderer.RenderingOptions.CssMediaType = IronPdf.Rendering.PdfCssMediaType.Print;

**Using CssMediaType.Screen** instructs Chrome to print the headers only once.

Renderer.RenderingOptions.CssMediaType = IronPdf.Rendering.PdfCssMediaType.Screen;

More table header code examples.