[Embed API] Disabling commenting while drawing is enabled

New Here ,
May 04, 2021 May 04, 2021

Copy link to clipboard

Copied

How can I disable commenting option, but keep drawing available? 

TOPICS
How to, PDF Embed API

Views

46

Likes

Translate

Translate

Report

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
Adobe Employee ,
Jun 11, 2021 Jun 11, 2021

Copy link to clipboard

Copied

LATEST

Sorry for the late response.

One way to achieve this is through annotation APIs. You can hide the top bar commenting tools using showToolbar: false in setConfig API, and create your own commenting toolbar containing only the drawing tool. Use the startAnnotationMode API and add annotations to the PDF.

Please have a look at the Annotation API section in the official documentation. Hope this helps!

Likes

Translate

Translate

Report

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