Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

buttonSetIcon to null (how to delete icon)

New Here ,
Nov 06, 2017 Nov 06, 2017

Dear friends,

Now if I want to hide the button' icon I use this method:

someButton.buttonPosition = position.textOnly

But this method only hides the icon - the icon remains "in memory" and immediately re-appears if I use buttonPosition = position.iconOnly.

I want to delete the icon completely - could you please help me with proper method (without blank buttons).

Thanks a lot!

TOPICS
Acrobat SDK and JavaScript
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 06, 2017 Nov 06, 2017

Blank buttons.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 06, 2017 Nov 06, 2017
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 07, 2017 Nov 07, 2017

I am aware of your method, but I pretty sure there should be more "normal" method" to delete icons from buttons.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 07, 2017 Nov 07, 2017
LATEST

That's the method I am using. You can certainly wait and see if somebody comes up with a better one, but in more than 20 years of working with PDF files, I have not found a better one.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 07, 2017 Nov 07, 2017

You mean you think there is a method but we’re not telling you, or are you making a feature change request?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines