PdfConverterGetPdfBytesFromRtfFile Method |
Gest the PDF document rendered from the specified RTF file to a memory buffer.
Namespace: ExpertPdf.RtfToPdfAssembly: eprtftopdf (in eprtftopdf.dll) Version: 10.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