WordToPdfConverterConvertWordData(Byte, String, Int32, Int32) Method

Converts a Word document read from a data buffer to PDF and returns the rendered PDF document into a memory buffer. You can specify the password to open the Word document and 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 byte[] ConvertWordData(
	byte[] wordData,
	string password,
	int startPageIndex,
	int endPageIndex
)

Parameters

wordData  Byte
The data buffer containing the Word document to convert to PDF
password  String
The password to open the Word document
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

Byte
An array of bytes containing the binary representation of the PDF document.

See Also