Injects CSS text into the viewer. Calls accumulate. The styles go into this instance's root node (not the host page's document.head) and are removed when the instance is destroyed.
document.head
The CSS text.
instance.UI.setCustomStyle('.cpdf-header { background: #222; }'); Copy
instance.UI.setCustomStyle('.cpdf-header { background: #222; }');
Injects CSS text into the viewer. Calls accumulate. The styles go into this instance's root node (not the host page's
document.head) and are removed when the instance is destroyed.