C# VS2008 Standard - Windows App - Printing question
I have a form in which I have a print button using the following line that works fine and prints the form:
printForm1.Print(this, Microsoft.VisualBasic.Powe
rPacks.Pri
nting.Prin
tForm.Prin
tOption.Cl
ientAreaOn
ly);
I would like to add print preview and the usual option box to slect a printer etc. It seems this is part of a VB powerpack and I cannot get it to work with the old 2005 C# printing options box code. Can anyone provide in the fewest lines of code a simple solution adding to the above code? Google has been a mixed bag so I would prefer code to a link to something pre-2008.
Thanks!
Karl66
Start Free Trial