Custom Annotation Tool Presets

18 views
Skip to first unread message

ar m

unread,
Mar 19, 2021, 12:22:42 PM3/19/21
to PDFTron WebViewer
Hi,

I have created a custom Tool by using Rectangle Annotation, but its not showing the presets Menu where i can select Stroke color, Fill color, or set the opacity like it does for rectangle. 

I have also tried setting 'showColor' in registerTool, But it also didn't work for me.

Any help would be appreciated.

Thanks.


ToolCustomization.png

Andy Huang

unread,
Mar 19, 2021, 9:03:11 PM3/19/21
to PDFTron WebViewer
Hello,

Would you mind sharing the code you are working with?

Andy Huang
Software Developer
PDFTron Systems Inc.

Reply all
Reply to author
Forward
0 new messages