EVO HTML to PDF Converter allows you to automatically resize the header and footer to adapt to HTML content being rendered. The resizing is done in the handler of the NavigationCompletedEvent event of the HtmlToPdfElement added in header or footer.
The following options are available in this demo:

- HTML Page URL or Local File to Convert. The URL of the HTML page to convert must be accessible from the computer where the converter runs. If the page requires authentication or if you are using a proxy server to access Internet then you have to set the converter properties accordingly as described in documentation
- Auto Resize Header. When this option is selected the header height will be automatically resized to display the entire HTML
- Fit a Fixed Header Height. When this option is selected the HTML in header will be automatically resized to fit a given header height
- Header Height. This option is visible when the 'Fit a Fixed Header Height' option is selected and it represents the header height in points. The HTML content in header will be resized if necessary to fit this height