System.Drawing.Font MyFont = new System.Drawing.Font(
thisTempLabel.LabelFont,
((float)thisTempLabel.fontSize),
FontStyle.Bold | FontStyle.Italic,
GraphicsUnit.Pixel
);
Maybe you wanted to use the OR operator (|
)
System.Drawing.Font MyFont = new System.Drawing.Font(
thisTempLabel.LabelFont,
((float)thisTempLabel.fontSize),
FontStyle.Bold | FontStyle.Italic,
GraphicsUnit.Pixel
);
Maybe you wanted to use the OR operator (|
)