PdfConverterGetPdfBytesFromRtfString Method |
Gets the PDF document rendered from the specified RTF string to a memory buffer.
Namespace: ExpertPdf.Anywhere.RtfToPdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic byte[] GetPdfBytesFromRtfString(
string rtfString
)
Public Function GetPdfBytesFromRtfString (
rtfString As String
) As Byte()
Parameters
- rtfString String
- The RTF code
Return Value
ByteAn array of bytes containing the binary representation of the generatedPDF document
Exceptions| Exception | Condition |
|---|
| RtfConvertException | The RTF string is null or empty, or the conversion failed. |
See Also