积极答复者
Canvas的Background高度超出2000,图片显示问题

问题
-
当Canvas的Background设置为图片,并且Canvas高度超出2000时,超出的部分会显示失败;
如果Background使用颜色显示,则正常。
目前只知道一般情况下,对图片的要求是不要超出2000*2000的宽高度,难道对Canvas的背景图片显示高度也有限制吗?
有没有好的解决方案呢?
代码如下:
ScrollViewer sv = new ScrollViewer();
sv.Width = 480;
sv.Height = 600;Canvas canvas = new Canvas();
canvas.Width = 480;
canvas.Height = 3000;ImageBrush imgBrush = new ImageBrush();
BitmapImage bit = new BitmapImage();
bit.UriSource = new System.Uri("background1.png", UriKind.Relative);
imgBrush.ImageSource = bit;canvas.Background = imgBrush;
sv.Content = canvas;软后把ScrollViewer显示到屏幕上
background1.png图片如下: