![](/img/trans.png)
[英]Converting Int to Color in C# for Silverlight's WriteableBitmap
[英]how to get size of WriteableBitmap in C# Silverlight?
我想在Silverlight中獲取System.Windows.Media.Imaging WriteableBitmap的大小。 任何建議將不勝感激
尺寸以像素為單位? 與設備無關的單位? 字節?
http://msdn.microsoft.com/zh-CN/library/system.windows.media.imaging.writeablebitmap.aspx
對於以像素為單位的尺寸,請嘗試使用PixelWidth和PixelHeight屬性。 對於與設備無關的單位的尺寸,請嘗試使用Width和Height屬性。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.