|
-
Feb 23rd, 2010, 01:34 AM
#8
Member
Re: DataGridPrinter - A class to print data grid in a nicely formatted way
 Originally Posted by korae
where exactly are you gonna do this? change the page layout to landscape.
I already figured it out, This is what I did:
With Me.PrintPreviewDialog1
.Document = GridPrinter.PrintDocument
.Document.DefaultPageSettings.Landscape = True
If .ShowDialog = DialogResult.OK Then
GridPrinter.Print()
End If
End With
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|