Winnovative Logo

WordToPdfConverterConvertWordFileToFile Method (String, Int32, Int32, String)

Winnovative Client for .NET Core
Converts a Word file to PDF and writes the rendered PDF document into a file. You can specify the page range to be exported to PDF

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public void ConvertWordFileToFile(
	string wordFilePath,
	int startPageIndex,
	int endPageIndex,
	string outFile
)

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
outFile
Type: SystemString
The full path of the file where to write the rendered PDF document
See Also

Reference