PdfConverterSavePdfFromRtfFileToStream Method |
Saves the PDF document rendered from the specified RTF file to the specified stream.
Namespace: ExpertPdf.RtfToPdfAssembly: eprtftopdf (in eprtftopdf.dll) Version: 10.0
Syntaxpublic void SavePdfFromRtfFileToStream(
string rtfFilePath,
Stream outPdfStream
)
Public Sub SavePdfFromRtfFileToStream (
rtfFilePath As String,
outPdfStream As Stream
)
Parameters
- rtfFilePath String
- The full path of the RTF file
- outPdfStream Stream
- The output stream where to save the generated PDF document.
Exceptions| Exception | Condition |
|---|
| RtfConvertException | The RTF file path is null or empty, the file cannot be read, the output stream is null, or the conversion failed. |
See Also