Need example for Font.ToLogFont



I am trying to get a LOGFONT structure from the
System::Drawing::Font class using ToLogFont
(System::Object*) in a managed C++ application. I need
the LOGFONT for some legacy C++ code. I cannot figure out
how to give ToLogFont an Object* of a LOGFONT that it will
return me a good GDI LOGFONT structure. Any example of
how to do this would be much appreaciated!

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question