Hi
I am trying to generate the thumbnails for the word documents using the Aspose components, It generates the thumbnail successfull for a word document having size upto 2 MB but shows the following exception for the size greater than 2 MB.
Exception : Parameters are not valid
Stack trace
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at Aspose.Words.Viewer.DocumentRenderer.(ⴝ ؞, PageSetup ⳾, Int32 ⵇ)
at ⳙ.Ⳳ.⑹()
at ⳙ.Ⳳ.ⴌ()
at ⳙ.ⵟ.⳹(ⴢ )
at ⳙ.Ⳳ.ⴌ()
at ⳙ.ਘ.ⳮ()
at ⳙ.ਘ.Measure(PointF origin)
at ⳙ..␍()
at ⳙ.ⵟ.VisitParagraphEnd(Paragraph para)
at Aspose.Words.Paragraph.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.ਁ(DocumentVisitor )
at Aspose.Words.Body.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.ਁ(DocumentVisitor )
at Aspose.Words.Section.Accept(DocumentVisitor visitor)
at Aspose.Words.CompositeNode.ਁ(DocumentVisitor )
at Aspose.Words.Document.Accept(DocumentVisitor visitor)
at Aspose.Words.Viewer.DocumentRenderer.GetPages()
at Aspose.Words.Viewer.PageNavigator..ctor(DocumentRenderer renderer)
Is there any way out to solve this Error, kindly tell me.
Thanks and Regards
Pintu