let image = WriteableBitmap(100, 100, 300.0, 300.0, Media.PixelFormats.Bgra32, null);
let pixel = image.Pixels
錯誤2場,構造或成員 '像素' 沒有定義image WriteableBitmap image .Pixels字段,構造函數或成員'像素'未定義?
WriteableBitmap.Pixels物業MSDN
爲什麼不定義?
這是一個框架問題?或...範圍?要麼 ?
由於
你開什麼命名空間訪問像素值? – 2013-04-18 03:05:56
呃,[什麼像素屬性](http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.writeablebitmap.aspx)..? – ildjarn 2013-04-18 03:16:39
@ildjarn - 我認爲他正在尋找這個 - http://msdn.microsoft.com/en-AU/library/system.windows.media.imaging.writeablebitmap.pixels(v=vs.95).aspx - 爲什麼我問了命名空間。 – 2013-04-18 03:19:29