Hello,
I´m not able to print xamgrid properly .
I mean, i can not adjust the xamgrid to the page size and i lose part of the grid.
This is what i have.
Private Sub btnPrint_Click(sender As Object, e As System.Windows.RoutedEventArgs) Handles btnPrint.Click pd = New PrintDocument() pd.Print("My dataGrid") End Sub
Private Sub pd_PrintPage(ByVal sender As Object, ByVal e As PrintPageEventArgs) Handles pd.PrintPage e.PageVisual = dataGrid dataGrid.Width = e.PrintableArea.Width dataGrid.Height = e.PrintableArea.Height End Sub
dataGrid.Width = e.PrintableArea.WidthdataGrid.Height = e.PrintableArea.Height
this changes the size of the grid and this is not the point.
Any suggestion??
Thank you in advance
Sincerely
David A.
Hello David,
If you have further questions feel free to write us.
Hello Stephan,
Thank you for your support.
Right now i'm with an urgent issue but i will check the post as soon as possible.
Best regards.
David Alonso.
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I can suggest you see this forum thread:
http://es.infragistics.com/community/forums/t/47806.aspx
where a similar issue is discussed. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.