ActiveX control not showing up properly
I have an activex control which I have written using C#. It is essentially a user control which is being compiled into a dll. When I debug the program with visual studio the forms and controls appear normal. When I embed the control in a webpage开发者_高级运维 using HTML the control functions properly but it does not render correctly. The fonts and proportions are off. (It is not a problem with the width and height setting). Also, I am using the latest version of the .net framework and internet explorer.
Your problem is probably something to do with auto scaling. And inheriting Font
. Try explicitly setting the Font
value on your UserControl
精彩评论