forum

Home / DeveloperSection / Forums / In WPF how to give the InteropBitmap drawing font

In WPF how to give the InteropBitmap drawing font

Manoj Bhatt 2596 23-Sep-2013

ex winform

Graphics g = Graphics.FromImage(newimg);

String str = "hello world";

Font font = new Font("Arial", 30);

SolidBrush sbrush = new SolidBrush(Color.Black);

g.DrawString(str, font, sbrush, new PointF(100, 120));

In the WPF on how the InteropBitmap to do the same thing?


wpf wpf 
Updated on 23-Sep-2013

Can you answer this question?


Answer

1 Answers

Liked By