Font::Bold Property
.NET Framework (current version)
Gets a value that indicates whether this Font is bold.
Assembly: System.Drawing (in System.Drawing.dll)
The following code example demonstrates the Inequality operator, the Font constructor, and the Bold property. This example is designed to be used with a Windows Form that contains a button named Button2. Paste the following code into your form and associate the Button2_Click method with the button's Click event.
.NET Framework
Available since 1.1
Available since 1.1
Show: