Winnovative Word to PDF Converter

WordToPdfConverterConvertWordFile Method (String, Int32, Int32)

Winnovative Word to PDF Converter Documentation
Converts a Word file to PDF and returns the rendered PDF document into a memory buffer. You can specify the page range to be exported to PDF

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

public byte[] ConvertWordFile(
	string wordFilePath,
	int startPageIndex,
	int endPageIndex
)

Parameters

wordFilePath
Type: SystemString
The full path of the Word file to convert to PDF
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

Return Value

Type: Byte
A memory buffer containing the the generated PDF document
See Also

Reference