Hello,
I'm facing a new issue related to this one.
Indeed to get around that, I implemented a popup instead of a bottom bar, where I place all my control to edit the select annotation. Howewer If I want to place my popup just above the rectangle bounds and centered horizontally the rendering isn't correct.
For example :
private void PdfViewerControl_InkSelected(object sender, InkSelectedEventArgs args)
{
//Get the bounds
Rectangle bounds = args.Bounds;
popupAnnotationTools.SfPopupLayout.StaysOpen = true;
popupAnnotationTools.SfPopupLayout.Show(bounds.center.X - (popupWidth/2) , (lastRectangleBounds.Center.Y - (popupHeight/2));
//Casts the sender object as Ink annotation.
selectedInkAnnotation = sender as InkAnnotation;
}
I tried to debug and for a simple test I found :
bounds.center.x = 543
bounds.center.x = 711
Wich is incorrect because the actual screen width of my device emulator is 300.
The bounds value seems incorrect
I tried different calculations but I can't found a way to make the bounds proportional.