WordToPdfConverterConvertWordDataToFile(Byte, String, Int32, Int32, String) Method
Converts a Word document read from a data buffer to PDF and writes the rendered PDF document into a file.
You can specify the password to open the Word document and the page range to be exported to PDF
Namespace: EvoPdfClientAssembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
public void ConvertWordDataToFile(
byte[] wordData,
string password,
int startPageIndex,
int endPageIndex,
string outFile
)
Public Sub ConvertWordDataToFile (
wordData As Byte(),
password As String,
startPageIndex As Integer,
endPageIndex As Integer,
outFile As String
)
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
- outFile String
- The full path of the file where to write the rendered PDF document