It doesn't... But it does show how easy printing in .NET is.
I don't think there is a method like: ListView.Print() if you were looking
for that.
But If you know how to print in .NET then having two loops, looping through
the
rows and columns of the ListView should be very easy to do.
If you need this kind of functionality often I would probably create a
custom control:
public class MyListView : ListView
{
public void Print(Graphics g)
{ ... } // where "g" is the Graphics object from the
PrintDocument.Print eventhandler
}
But I may be wrong and there is an easier way...
saso
"Sharon" <talsharon@void.null> wrote in message
news:ucivFV3DFHA.2876@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi Saso.
> This example does not show how to print the contents of a control.
> Regards.
> Sharon.
>
> "Saso Zagoranski" <saso.zagoranski@guest.arnes.si> wrote in message
> news:cufars$266$1@planja.arnes.si...[color=green]
>> Take a look at:
>>
http://www.ondotnet.com/pub/a/dotnet.../printing.html
>>
>> saso
>>
>> "enahar" <enahar@hotmail.com> wrote in message
>> news:uhlByfzDFHA.3504@TK2MSFTNGP12.phx.gbl...[color=darkred]
>> > How to print the list view control columns using PrintDocument class
>> > in
>> > csharp dotnet framework
>> >
>> > Thanks
>> > Regards,
>> > Ekta
>> >[/color]
>>
>>[/color]
>
>[/color]