Y
ywchan
Hi, all
I have the following questions about printing in C#
1. How to print a document (e.g. MS Word, Excel, PDF) through C#? I have use
PrintDocument and set the DocumentName to the file path (e.g.
@"C:\Test.doc"). But I can't print out the content in the document...Why?
So how can it print the document?
2. How to convert a document to raw print file (i.e. the same output as
"print to file") by using C# code? Any idea / any classes I can use?
3. How to convert a document to pdf file by using C#?
Thanks.
I have the following questions about printing in C#
1. How to print a document (e.g. MS Word, Excel, PDF) through C#? I have use
PrintDocument and set the DocumentName to the file path (e.g.
@"C:\Test.doc"). But I can't print out the content in the document...Why?
So how can it print the document?
2. How to convert a document to raw print file (i.e. the same output as
"print to file") by using C# code? Any idea / any classes I can use?
3. How to convert a document to pdf file by using C#?
Thanks.