Hi All,
I have an application where I am dispalying shape files. Afer displaying with data mapping I want to take a Print of the selected Area. How can we achieve this in Infragistics using XamMap Control.
Thanks in Advance
Pavan
Hi Pavan,
Try the following code sample:
private void Button_Click(object sender, RoutedEventArgs e){ var printDocument = new PrintDocument(); printDocument.PrintPage += printDocument_PrintPage; printDocument.Print("XamMap");}
private void printDocument_PrintPage(object sender, PrintPageEventArgs e){ e.PageVisual = xamMap; e.HasMorePages = false;}
Regards,
Ivan Kotev
Which dlls do I need to reference to use this? And/or which using statements in my code behind?
Thanks