Skip to main content
gedsmurf1
Known Participant
February 8, 2021
Answered

Programmatically Toggle Comments Panel in PDF Embed API Viewiwer

Hello,

 

Is there a way to toggle the Annotation's Comment Panel programatically?

We want the Comments Panel to be shown/hidden depending on some application settings.

 

Thanks

This topic is closed to new replies. Start a new post to keep the conversation going.
Joel Geraci
Joel GeraciCorrect answer
Community Expert
February 8, 2021

You can disable the comments pane using setting showCommentsPanel to false in the SetConfig object.

8 replies

Adobe Employee
February 8, 2021

Hi, Thanks for using PDF Embed API. Please look for setConfig API under section APIs to control UI configurations in the documentation.

Translate
gedsmurf1
gedsmurf1Author
Known Participant
February 8, 2021

Thank you for your response, I looked at the documentation but I am not sure which constant it is.

 

 

Translate
Joel Geraci
Community Expert
Joel GeraciCommunity ExpertCorrect answer
Community Expert
February 8, 2021

You can disable the comments pane using setting showCommentsPanel to false in the SetConfig object.

Translate