Printing existing controls


hi, have treeview complex data on screen , send printer (using sl4), i'm encountering 2 problems: 1) cannot add treeview border etc before printing in visualtree. recalculating data , writing control created in code-behind not option due time of calculations required. there way this? 2) set maxwidth of treeview in 'printdocument.printpage' event, seems fruitless, treeview still prints on edges of paper. there way calculate pagewidth? doing everytime page prints seems bit of odd idea... need treeview resizeand fit page? thanks

 there option in margin can set default margin , use it, may work out.

thanks,

 choda



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'