Table of Contents

Method SetFont

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

SetFont(ContainerControl, Font)

Sets the specified font for all controls in the container in case if non-100% scaling is in effect. This helps to circumvent the bug in WinForms auto scaling. See http://stackoverflow.com/questions/2973165/autoscalemode-problems-with-changed-default-font

Container control. Font to be set.
public static void SetFont(ContainerControl container, Font font)

Parameters

container ContainerControl
font Font