Viewing 1 replies (of 1 total)
  • Plugin Support andrewsupport

    (@andrewsupport)

    If “Full Page Capture to PDF ” option is enabled please usebeforeImageToPdf()?and?afterImageToPdf()?JavaScript functions for changing PDF document.
    For example, go to the plugin settings page -> “Custom Code” tab, mark “Activate custom JavaScript code.” checkbox in the “JavaScript” section and add the following code:

    function beforeImageToPdf() {
    document.getElementById("site-header").style.display = "none";
    }
    function afterImageToPdf() {
    document.getElementById("site-header").style.display = "block";
    }

    Replace “site-header” on the id of the element you need to hide.

    The Custom Code tab is available in Pro version only.

Viewing 1 replies (of 1 total)
  • The topic ‘How to block some section for capture PDF?’ is closed to new replies.