Default color of "Draw Ink" feature

Hello,
Is it possible to set the default color of the "Draw ink" feature?
The default color is red and I would like it to be black.

Thanks. 


1 Reply

VV Visvesvar Venkatesan Syncfusion Team September 5, 2022 11:47 AM UTC

Hi,


Please find the sample for getting ink annotation in Black color.


Sample - https://stackblitz.com/edit/m7xvpx-envyn2?file=index.js


Code snippet


viewer.inkAnnotationSettings.strokeColor = 'black';



If you still need further assistance kindly revert to us.



Regards,

Visvesvar K V


Loader.
Up arrow icon