Converts a Word document read from a data buffer 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 password to open the Word document and the page range to be exported to PDF
Namespace: WinnovativeClient
Assembly: WinnovativeClient (in WinnovativeClient.dll) Version: 17.0.0.0 (17.0.0.0)
Syntax
public Document ConvertWordDataToPdfDocumentObject( byte[] wordData, string password, int startPageIndex, int endPageIndex )
Parameters
- wordData
- Type:System.Byte[]
The data buffer containing the Word document to convert to PDF - password
- Type: System.String
The password to open the Word document - startPageIndex
- Type: System.Int32
The zero-based index of the first page to convert - endPageIndex
- Type: System.Int32
The zero-based index of the last page to convert
Return Value
Type: DocumentThe created Document object
See Also