Skip to main content
Participant
Oct 18, 2022 5:59 PM UTC
Question

How do I change the icon that appears in the Tools menu for custom plugins

I am looking at the SDK plugin sample SelectionServer and I am not seeing how to change the default folder icon to something custom. I tried "AVToolBarSetIcon" but that didn't seem to affect the icon that is displayed on the Tools page.

 

This topic is closed to new replies. Start a new post to keep the conversation going.

6 replies

Legend
Oct 19, 2022 6:06 PM UTC

Look at AVToolBarSetIcon and AVIconCreateFromPDF. And AVToolButtonNew. I can't share any code, but they are involved.

Translate
Thom Parker
Community Expert
Community Expert
Oct 19, 2022 6:34 PM UTC

Are you sure you can change that particular icon? 

  

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Legend
Oct 19, 2022 7:11 PM UTC

Yes, it is possible. I remember it was a major challenge with incomplete documentation and methods which would crash Acrobat. The comments say that AVToolBarSetIcon was a late addition to the API.

Translate
Thom Parker
Community Expert
Community Expert
Oct 19, 2022 3:54 PM UTC

You can't, not part of the SDK.

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
JR Boulay
Community Expert
Community Expert
Oct 19, 2022 8:39 AM UTC

MOVED TO THE ACROBAT SDK DISCUSSIONS

Translate
Acrobate du PDF, InDesigner et Photoshopographe
Bernd Alheit
Community Expert
Community Expert
Oct 19, 2022 4:42 AM UTC

Try the forum for Acrobat SDK.

Translate