G
Guest
I would like to be able to get Font Metrics (Ascent, Descent, Baseline,
character widths, etc.) in the .NET CF. How can I do this?
It seems pretty nasty to have to use PInvoke on "Coredll.lib" which I assume
is a statically linked library (meaning I need to create a DLL that I then
PInvoke on).
It also requires a device context with a currently set font that it will
make measurements on. How do I set the font on a graphics object so that I
can make measurements with it? Is there special clean-up involved with this?
Thank you,
Richard Arthur
character widths, etc.) in the .NET CF. How can I do this?
It seems pretty nasty to have to use PInvoke on "Coredll.lib" which I assume
is a statically linked library (meaning I need to create a DLL that I then
PInvoke on).
It also requires a device context with a currently set font that it will
make measurements on. How do I set the font on a graphics object so that I
can make measurements with it? Is there special clean-up involved with this?
Thank you,
Richard Arthur