-2

I am using windows phone 8.1 c# app visual studio 2015

‍‍Graphics g = Graphics.FromImage is not working on windows phone 8.1

now here is my code from android and i need do the same in windows phone c#:

Paint paint = new Paint();
canvas.drawBitmap(originalBitmap, 0, 0, paint);
canvas.drawText("Testing...", 10, 10, paint);

WriteableBitmap.render is not working. i know WriteableBitmap.render can solve my problem. windows phone 8.1 c# WriteableBitmap.render is not found.

2 Answers2

0

See an example from msdn: WindowsPhone: Write Text on Image control

Andrii Krupka
  • 4,276
  • 3
  • 20
  • 41
  • you url does not contain any code and i tried RenderTargetBitmap. ithink windows phone is not capable of editing hi res images, windows phone is more focused on ui and text-boxes – Chamindu Shehan Dec 24 '15 at 15:12