You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Font property of a Wisej control is either the value assigned to the control or the inherited font from a parent, or ultimately the font from the theme. However, the System.Drawing.Font object has no knowledge of web fonts, that's why Wisej creates the theme fonts using the theme name prefixed by "@". The serializer recognizes the theme font using the OriginalFontName property of the font object. The client will resolve the name to a valid web font. When you use the font on the server side you will see the fallback font used by the windows server and the theme name in OriginalFontName.
The report virewer is an ASP.NET control running in an iframe. To change its font you need to set the name and size in OnInit or OnLoad:
Activity
itg-assistant commentedon Jun 12, 2026
Luca answered 2018-02-02 21:38:41 UTC
The Font property of a Wisej control is either the value assigned to the control or the inherited font from a parent, or ultimately the font from the theme. However, the System.Drawing.Font object has no knowledge of web fonts, that's why Wisej creates the theme fonts using the theme name prefixed by "@". The serializer recognizes the theme font using the OriginalFontName property of the font object. The client will resolve the name to a valid web font. When you use the font on the server side you will see the fallback font used by the windows server and the theme name in OriginalFontName.
The report virewer is an ASP.NET control running in an iframe. To change its font you need to set the name and size in OnInit or OnLoad:
viewer.Font.Name = "Verdana";
viewer.Font.Size = 30;
HTH