Customizing WebViewer Icons

WebViewer Version: 8.5.0

We are in the process of modifying the WebViewer menu/toolbars, and our Web Designer would like to use a different icon for the menuButton (currently a gear icon).

How can I override this with our own icon?

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

I think I found the answer:

instance.UI.updateElement('menuButton', {
    img: 'svg-string-or-image-path-here',
    title: 'More options',
})
1 Like

Hi @beccanet,

I can confirm that is indeed the way to update the icons.

Best Regards,
Armando Bollain
Software Developer
PDFTron Systems, Inc.

1 Like