PdfConverterGetPdfBytesFromRtfFile Method |
Gest the PDF document rendered from the specified RTF file to a memory buffer.
Namespace: ExpertPdf.Anywhere.RtfToPdfAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic byte[] GetPdfBytesFromRtfFile(
string rtfFilePath
)
Public Function GetPdfBytesFromRtfFile (
rtfFilePath As String
) As Byte()
Parameters
- rtfFilePath String
- The full path of the RTF file
Return Value
ByteAn array of bytes containing the binary representation of the PDF document
Exceptions| Exception | Condition |
|---|
| RtfConvertException | The RTF file path is null or empty, the file cannot be read, or the conversion failed. |
See Also