Users Pricing

forum

home / developersection / forums / in wpf how to give the interopbitmap drawing font

In WPF how to give the InteropBitmap drawing font

Manoj Bhatt 2976 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?


Manoj Bhatt

Other


1 Answers