Winnovative Logo

WordToPdfConverterConvertWordDataToPdfDocumentObject Method (Byte, Int32, Int32)

Winnovative Client for .NET Core
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 page range to be exported to PDF

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public Document ConvertWordDataToPdfDocumentObject(
	byte[] wordData,
	int startPageIndex,
	int endPageIndex
)

Parameters

wordData
Type: SystemByte
The data buffer containing the Word document to convert to PDF
startPageIndex
Type: SystemInt32
The zero-based index of the first page to convert
endPageIndex
Type: SystemInt32
The zero-based index of the last page to convert

Return Value

Type: Document
The created Document object
See Also

Reference