How can I update Z-Order for Annotations?

Hi,


I saw that the annotations in SfImageEditor can be brought to front or sent to back of the other annotations,


How can I try this scenario in SfPdfViewer?


Thanks and best regards,


TH


1 Reply

MM Manikandan Manickavasagam Syncfusion Team September 19, 2024 04:06 AM UTC

Hi Thanh,


We would like to inform you that in the MAUI PDF Viewer, annotations automatically maintain their z-order by default. When a new annotation is added, it is placed at the top of the stack, with a z-order index one higher than the previous annotations on the page. Additionally, when you select an annotation, it is brought to the front, above all other annotations on the page. Once deselected, it returns to its original position in the z-order. Due to this behavior, we do not provide an API to customize the z-order index.


Please let us know if you need any further clarification.


Regards,

Manikandan M


Loader.
Up arrow icon