I would like to add make a text bold , in preview mode of Telerik report designer works correctly but when I call the report in C# code to use it , I can't see any change and the bold style won't be applicable in C# application .
What's the reason??
1 Answer, 1 is accepted
answered on 14 Oct 2021, 10:25 AM
Font styling like underline, bold, italic may not appear in all rendering formats, if the used font does not have the corresponding variation e.g. Arial Bold, Arial Bold Italic. The IMAGE rendering(Which is what the Report Designer renders by default unless Print Preview is selected) is an exclusion, as the image is created by the Reporting engine that reads the report properties.
Could you please share what you are trying to do with the report? Display it in a report viewer? Render it in another rendering format?
In what environment is the code executed? Windows or Linux?
Please note that fonts used in the designed reports must be available on the server machine where reports are processed and rendered. If the fonts cannot be installed before starting the application, you can distribute them as private fonts
Depending on the tool used for reading the rendered Telerik Reports, the client machine may need to have the fonts installed. In the case of the PDF rendering, you can embed all custom fonts in the PDF file - Design Considerations for PDF Rendering. In case of providing a web preview in a browser, you can distribute fonts as private fonts.
Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you
up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.