Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Multi Page Printpreview in vb.net

$
0
0

I'm trying to Show Multi Page in printPreview Dailog. Actually a Tablelayoutpanel1 have 12 row .Each Row have Radchart graph.So i want to print the whole Chart graph.

in below Code is Showing only one page . That one page contain 4 charts... i want 12 chart in one page or two page.. please give any idea to fix this.

using Btmp as Bitmap= New Bitmap (TabelpanelLayout1.width,TabelpanelLayout1.Height)

TabelpanelLayout1.DrawToBitmap( Btmp,New Rectangle(0,0,Btmp.width,Btmp.Height))
e.Graphics.DrawImage(Btmp,0,0)

End Using

I tried  e.Hasmorepages property has a true .The result , print Document Dialog box  is creating  more .( like 1,2,3,4,5.....)


Viewing all articles
Browse latest Browse all 1710

Trending Articles