Product:
PDFTron
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