API v2

Can I suppress some parts of the page?

Yes, unwanted HTML elements can be removed by adding the pdfcrowd-remove or pdfcrowd-hide CSS class into them, e.g.

<div id="banner" class="pdfcrowd-remove">Banner to be suppressed</div>

An alternative way is to use API method setCustomJavascript with this code:

libPdfcrowd.removeBySelector({selector: 'element-css-selector', recursive: true});

FAQ home