![](/img/trans.png)
[英]How to access the camera from my Windows Phone 8 app (XAML and C#) and save the taken picture in a determined folder?
[英]how to draw text on picture and save it on windows phone c# app?
我正在使用 windows phone 8.1 c# app Visual Studio 2015
Graphics g = Graphics.FromImage
不工作在Windows Phone 8.1
現在這是我來自 android 的代碼,我需要在 windows phone c# 中做同樣的事情:
Paint paint = new Paint();
canvas.drawBitmap(originalBitmap, 0, 0, paint);
canvas.drawText("Testing...", 10, 10, paint);
WriteableBitmap.render 不起作用。 我知道 WriteableBitmap.render 可以解決我的問題。 windows phone 8.1 c# WriteableBitmap.render 未找到。
請參閱 msdn 中的示例: WindowsPhone:在圖像控件上寫入文本
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.