Click here to Skip to main content
15,895,809 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
How can i convert system.drawing.fontfamily to system.window.media.fontfamily?
Posted
Comments
Mukesh Pr@sad 1-Dec-14 7:22am    
refer following link

http://msdn.microsoft.com/EN-US/library/ms634939(v=VS.110,d=hv.2).aspx

1 solution

It was better if you could explain why do such a thing...

I assume you already have a Drawing.FontFamily object in your hand...
C#
Media.FontFamily oMediaFontFamily= new Media.FontFamily(oDrawingFontFamily.Name);
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900