Skip to main content
faiveen
Participant
November 6, 2017
Question

buttonSetIcon to null (how to delete icon)

  • November 6, 2017
  • 3 replies
  • 1763 views

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!

This topic has been closed for replies.

3 replies

Legend
November 7, 2017

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

Karl Heinz  Kremer
Community Expert
Community Expert
November 7, 2017
faiveen
faiveenAuthor
Participant
November 7, 2017

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

Karl Heinz  Kremer
Community Expert
Community Expert
November 7, 2017

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.

Legend
November 7, 2017

Blank buttons.