WordToPdfConverterConvertWordFileToStream(String, Int32, Int32, Stream) Method
Converts a Word file to PDF and writes the rendered PDF document into a stream.
You can specify the page range to be exported to PDF
Namespace: EvoWordToPdfAssembly: EvoWordToPdf_NetCore (in EvoWordToPdf_NetCore.dll) Version: 12.0.0
public void ConvertWordFileToStream(
string wordFilePath,
int startPageIndex,
int endPageIndex,
Stream outPdfStream
)
Public Sub ConvertWordFileToStream (
wordFilePath As String,
startPageIndex As Integer,
endPageIndex As Integer,
outPdfStream As Stream
)
public:
void ConvertWordFileToStream(
String^ wordFilePath,
int startPageIndex,
int endPageIndex,
Stream^ outPdfStream
)
member ConvertWordFileToStream :
wordFilePath : string *
startPageIndex : int *
endPageIndex : int *
outPdfStream : Stream -> unit
Parameters
- wordFilePath String
- The full path of the Word file to convert to PDF
- startPageIndex Int32
- The zero-based index of the first page to convert
- endPageIndex Int32
- The zero-based index of the last page to convert
- outPdfStream Stream
- The output stream where to write the generated PDF document