Users Pricing

forum

Home Forums In WPF how to give the InteropBitmap drawing font – MindStick

In WPF how to give the InteropBitmap drawing font

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


1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md