print preview in listview

Hi

May i know how to i get the data in list view to the print preview control.

How can add the image in the print preview?

[141 byte] By [kangkang] at [2007-12-24]
# 1
You can use the ListView's DrawToBitmap() function to generate a bitmap image of the control, then use e.Graphics.DrawImage() to print it. Check out my code in this thread, it is code for a Panel control but it works exactly the same way for a ListView control.
nobugz at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...