PdfConverterSavePdfFromRtfStringToStream Method |
Saves the rendered PDF document from the specified rtf string to the specified stream.
Namespace: ExpertPdf.Anywhere.RtfToPdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic void SavePdfFromRtfStringToStream(
string rtfString,
Stream outPdfStream
)
Public Sub SavePdfFromRtfStringToStream (
rtfString As String,
outPdfStream As Stream
)
Parameters
- rtfString String
- The RTF code
- outPdfStream Stream
- The output stream where to save the generated PDF document.
Exceptions| Exception | Condition |
|---|
| RtfConvertException | The RTF string is null or empty, the output stream is null, or the conversion failed. |
See Also