WordToPdfConverterConvertWordStreamToFile(Stream, Int32, Int32, String) Method
Converts a Word document read from a stream to PDF and writes the rendered PDF document into a file.
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 ConvertWordStreamToFile(
Stream wordStream,
int startPageIndex,
int endPageIndex,
string outFile
)
Public Sub ConvertWordStreamToFile (
wordStream As Stream,
startPageIndex As Integer,
endPageIndex As Integer,
outFile As String
)
public:
void ConvertWordStreamToFile(
Stream^ wordStream,
int startPageIndex,
int endPageIndex,
String^ outFile
)
member ConvertWordStreamToFile :
wordStream : Stream *
startPageIndex : int *
endPageIndex : int *
outFile : string -> unit
Parameters
- wordStream Stream
- The stream containing the Word document 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
- outFile String
- The full path of the file where to write the rendered PDF document