Click here to Skip to main content
15,890,670 members

Comments by Member 8377505 (Top 1 by date)

Member 8377505 4-Dec-11 12:12pm View    
Deleted
Hi,

This is realy nice article and it is working fine for small amount of data. But whenever i try to print large amount of data i am getting error on line:

ExtendedImage ei = ImageExtensions.ToImage(stkPanel); The error description is:StackTrace: at System.Windows.Media.Imaging.WriteableBitmap.AllocPixelBuffer()

at System.Windows.Media.Imaging.WriteableBitmap..ctor(UIElement element, Transform transform)

at ImageTools.ImageExtensions.ToImage(UIElement element)

at TestPrintSilverLight.PrintElement.PrintClick()

Error Message: Exception of type 'System.OutOfMemoryException' was thrown


Is there any setting that needs to be checked or set to handle large data printing in Silverlight 4?

Any help in this regards would be really appreciated.Thanks in advanced.