回答編集履歴

1

コードに誤表記があった為修正

2021/12/02 01:48

投稿

Mashimasa
Mashimasa

スコア50

test CHANGED
@@ -22,7 +22,7 @@
22
22
 
23
23
  Dim bmp As New RenderTargetBitmap(CInt(w.ActualWidth), CInt(w.ActualHeight), 96, 96, PixelFormats.Pbgra32)
24
24
 
25
- bmp.Render(target)
25
+ bmp.Render(w)
26
26
 
27
27
  Dim filename = "C:\Test.BMP"
28
28