我正在使用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>
任何人都可以帮助我吗?
答案 0 :(得分:0)
答案是
它声明:
参数 - &GT;正在传递的对象
类型:System.Object [.NET] | Platform :: Object [C ++] 传递给目标页面的导航参数;必须具有基本类型(字符串,字符,数字或GUID)才能使用GetNavigationState支持参数序列化。这是序列化的问题。检查您是否可以传递支持的格式或尝试使用本地存储:)如果还有其他问题,请更新我。