WordToPdfConverterConvertWordFile(String, String, Int32, Int32) Method
Converts a Word file to PDF and returns the rendered PDF document into a memory buffer.
You can specify the password to open the Word document and page range to be exported to PDF
Namespace: EvoPdfClientAssembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
public byte[] ConvertWordFile(
string wordFilePath,
string password,
int startPageIndex,
int endPageIndex
)
Public Function ConvertWordFile (
wordFilePath As String,
password As String,
startPageIndex As Integer,
endPageIndex As Integer
) As Byte()
- wordFilePath String
- The full path of the Word file 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
ByteA memory buffer containing the the generated PDF document