how to export to pdf non english Headers
hello,
how to export to pdf non english Headers?
I would like to export to pdf in Georgian language.
I am using version: syncfusion.blazor.grids 18.4.0.48
thank you ahead.
SIGN IN To post a reply.
3 Replies
1 reply marked as answer
RS
Renjith Singh Rajendran
Syncfusion Team
September 10, 2021 06:13 AM UTC
Hi Aleqsandre,
Greetings from Syncfusion support.
We suggest you to customize your header texts in exported file by using the ExcelHeaderQueryCellInfoEvent event of Grid. You can bind this event to Grid and based on the your case, you can assign custom header text to args.Cell.Value which will be displayed in the exported content.
|
<GridEvents ExcelHeaderQueryCellInfoEvent="ExcelHeaderQueryCellInfoHandler" ... TValue="Order"></GridEvents>
|
And also we recommend you to use latest Syncfusion versions(19.2.0.60) for latest fixes and features. Please get back to us if you need further assistance.
Regards,
Renjith R
AL
Aleqsandre
September 10, 2021 09:38 AM UTC
Hello,
I asked for PDF not excel, and for non english language.
It works fine even without your provided code for excel.
Thank you
RS
Renjith Singh Rajendran
Syncfusion Team
September 10, 2021 11:09 AM UTC
Sorry for the inconvenience. We suspect that your are facing exception when try exporting true type font to pdf. If so, then we suggest you to refer the below thread for more details on exporting true type font to pdf.
Note : We request you to use the corresponding custom font base64 string in your application, based on your requirement. The above thread is to export Croatian letters, we suggest you to generate base64 string for Gregorian letters using below steps. Please follow the below steps to get the base64 string for the custom font.
- Download TTF file for the corresponding (custom) font (you can download ttf for Gregorian from here https://fontmeme.com/fonts/gregorian-font/)
- Then convert the TTF file into base64 string (https://www.giftofspeed.com/base64-encoder/).
- Finally apply the base64 string to pdfTrupetypeFont.
If you are still facing difficulties, then kindly get back to us with a simple issue reproducing sample with Gregorian text which you need to export to pdf. And also share with the details of any exception if you have faced while perform pdf exporting.
Regards,
Renjith R
Marked as answer
SIGN IN To post a reply.
- 3 Replies
- 2 Participants
- Marked answer
-
AL Aleqsandre
- Sep 9, 2021 01:24 PM UTC
- Sep 10, 2021 11:09 AM UTC