WordToPdfConverterConvertWordFileToPdfDocumentObject(String, Int32, Int32) Method

Converts a Word file to PDF and returns the rendered PDF document as an object of the Document class that can be further used in other operations requiring this type of objects. You can specify the page range to be exported to PDF

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public Document ConvertWordFileToPdfDocumentObject(
	string wordFilePath,
	int startPageIndex,
	int endPageIndex
)

Parameters

wordFilePath  String
The full path of the Word file to convert to PDF
startPageIndex  Int32
The zero-based index of the first page to convert
endPageIndex  Int32
The zero-based index of the last page to convert

Return Value

Document
The created Document object

See Also