Posted 23 February 2023, 11:46 pm EST
Hi Michael,
If you just want to assign a custom font to your report at runtime (assuming the font is installed on your system) you can access the control in your codebase and assign a font to the ‘Control.Style’ property.
However, if you want to include your custom font file to your report i.e. you don’t have the font installed on the system but want to include it in your report you can assign a FontResolver object to your ‘report.FontResolver’ property which will embed the font in your project to be used at runtime. Note, you can use the FontResolver in ActiveReports 14 and above.
We’ll suggest you upgrade to the latest version of ActiveReports i.e. ActiveReports 17. You may download the same from here and try it free for the first 30 days!
If you want to embed your custom fonts into your report to be used on a deployed server (Azure, etc.) you’ll need to implement the Font Font Factory for your project. You may learn more about the same here ActiveReports 13 - Font Factory: https://help.grapecity.com/activereports/webhelp/AR13/webframe.html#PDFCustomFontFactory.html
Regards,
Anand
CustomChineseFont_v17.zip