Converts a Word file to PDF and writes the rendered PDF document into a stream.
You can specify the password to open the Word document
Namespace: WnvWordToPdf
Assembly: wnvwordtopdf (in wnvwordtopdf.dll) Version: 10.0.0.0
Syntax
public void ConvertWordFileToStream( string wordFilePath, string password, Stream outPdfStream )
Parameters
- wordFilePath
- Type: SystemString
The full path of the Word file to convert to PDF - password
- Type: SystemString
The password to open the Word document - outPdfStream
- Type: System.IOStream
The output stream where to write the generated PDF document
See Also