Skip to main content
Participant
October 18, 2022
質問

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

  • October 18, 2022
  • 返信数 4.
  • 794 ビュー

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.

 

このトピックへの返信は締め切られました。

返信数 4

Legend
October 19, 2022

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

Thom Parker
Community Expert
Community Expert
October 19, 2022

Are you sure you can change that particular icon? 

  

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Legend
October 19, 2022

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.

Thom Parker
Community Expert
Community Expert
October 19, 2022

You can't, not part of the SDK.

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
JR Boulay
Community Expert
Community Expert
October 19, 2022

MOVED TO THE ACROBAT SDK DISCUSSIONS

Acrobate du PDF, InDesigner et Photoshopographe
Bernd Alheit
Community Expert
Community Expert
October 19, 2022

Try the forum for Acrobat SDK.