Winnovative Word to PDF Converter

WordToPdfConverterConvertWordFileToStream Method (String, String, Int32, Int32, Stream)

Winnovative Word to PDF Converter Documentation
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 and the page range to be exported to PDF

Namespace:  WnvWordToPdf
Assembly:  wnvwordtopdf (in wnvwordtopdf.dll) Version: 10.0.0.0
Syntax

public void ConvertWordFileToStream(
	string wordFilePath,
	string password,
	int startPageIndex,
	int endPageIndex,
	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
startPageIndex
Type: SystemInt32
The zero-based index of the first page to convert
endPageIndex
Type: SystemInt32
The zero-based index of the last page to convert
outPdfStream
Type: System.IOStream
The output stream where to write the generated PDF document
See Also

Reference