Create a new font from the current font:
Font font = new Font(...);
// Variant instantation, use the current font as the prototype, only
changing the font style.
font = new Font(font, FontStyle.Bold);
--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Herve Bocuse" <gd******@gmail.com> wrote in message
news:cp**********@dns3.cae.ca...
Hi,
I have a C# font instance. I would like to instanciate a font equal to
this
one but with the bold attribute. What is the shortest way to create the
second one from the first one ?
Thank you
Herve