Freetext annotation text alignment

Hello All ,
When setting annotation Mode to freeText the text is not aligned in the annotation box.  I tried the following but its' not working 
     this.pdfviewerControl.freeTextSettings.defaultText = 'fieldName';
      this.pdfviewerControl.enableFreeText = true;
      this.pdfviewerControl.freeTextSettings.fontSize = fontSize';
      this.pdfviewerControl.freeTextSettings.textAlignment = 'Center';
      this.pdfviewerControl.freeTextSettings.fontColor = fontColor;




Thanks,
Mohamed

2 Replies

AA Akshaya Arivoli Syncfusion Team May 20, 2020 09:37 AM UTC

Hi Mohamed, 

Thank you for contacting Syncfusion support. 

We are facing the issue Text position is not maintained properly when the free text is selected. We will analyze further on it and update you with more details on May 22nd, 2020. We have shared the sample in which we have tried to reproduce the reported issue with the provided code snippet in the below link, 



 


Please try it and revert us with more details and the modified sample if you have any concern on this. These details will be helpful for us to investigate further and assist you better. 

Regards, 
Akshaya 



AA Akshaya Arivoli Syncfusion Team May 23, 2020 02:21 AM UTC

Hi Mohamed, 

We are unable to reproduce the reported issue with our latest version. Can you please try with our latest v 18.1.0.53 both client and server side packages. Please refer to the below link to create our PDF Viewer Web service project. 


Please try it and revert us if you need any further assistance.       

Regards, 
Akshaya  


Loader.
Up arrow icon