【发布时间】:2013-09-06 06:12:00
【问题描述】:
我正在使用 WriteableBitmapRenderExtensions,下面是我的代码,其中出现“无法将此流的长度扩展至超出其容量”的错误。
我在渲染中遇到错误。
var bitmap = await WriteableBitmapRenderExtensions.Render(mainImage);
<Grid Name="mainImage">
<Image Name="frameImage"
Source="Image/u117_normal.png"
Stretch="Fill"></Image>
<Image Name="userImage"
Source="Image/u66_normal.png"
Width="700"
Height="500"></Image>
<Canvas>
<Image Name="AddonImage"
Source="Image/u103_normal.png"
Width="100"
Height="100"></Image>
</Canvas>
</Grid>
谁能帮我解决这个问题?
【问题讨论】:
标签: c# windows-store-apps winrt-xaml