Change icon for FileAttachment annotation


Product Version:
Android SDK 10.4.0

Please give a brief summary of your issue:
I want to change the default icon of the FileAttachment annotation. As I can see I can select the icon only from the set of the 4 default icons (e_Graph/e_PushPin/e_Paperclip/e_Tag).
Is it possible to add any custom icon?

Please describe your issue and provide steps to reproduce it:
Is it possible to use any drawable as the icon for FileAttachment?

Please provide a link to a minimal sample where the issue is reproducible:
val attach = FileAttachment.create(pdfDoc, Rect(80.0, 280.0, 108.0, 320.0), file.absolutePath)
attach.icon = FileAttachment.e_Paperclip // I want to set icon here R.drawable.icon_image

Hello, and thank you for posting in our Apryse Community forum. You can change the custom appearance of annotations, if you’d like. Here is a link for your reference and convenience: Custom-annot-appearance | Apryse Documentation