|
Foxit PDF Conversion SDK
|
Static Public Member Functions | |
| static | ConvertFromMarkdownWithPath (src_markdown_file_path, src_file_password, saved_pdf_path, setting_data) |
| Convert a Markdown file to a PDF file by path. More... | |
| static | ConvertFromMarkdownWithStream (src_markdown_reader, src_file_password, saved_pdf_file_stream, setting_data) |
| Convert a Markdown file to a PDF file by stream. More... | |
This class can be used to convert Markdown files to PDF files. Before using methods in this module, please ensure Foxit PDF Conversion SDK has been initialized successfully by function Library.Initialize with a key including "MD2PDF" module.
|
inlinestatic |
Convert a Markdown file to a PDF file by path.
| [in] | src_markdown_file_path | Path of a Markdown file. This should not be an empty string. |
| [in] | src_file_password | (Reserved) Password for the input Markdown file. If no password is needed for the file, please pass an empty string. |
| [in] | saved_pdf_path | Path of the saved PDF file as conversion result. This should not be an empty string. |
| [in] | setting_data | A PDFConversionSDK.Md2PDFSettingData object which is used for converting. |
|
inlinestatic |
Convert a Markdown file to a PDF file by stream.
| [in] | src_markdown_reader | A ReaderCallback object which is implemented by user to load a Markdown document. It should not be NULL. |
| [in] | src_file_password | (Reserved) Password for the input Markdown file. If no password is needed for the file, please pass an empty string. |
| [in] | saved_pdf_file_stream | A StreamCallback object which is implemented by user to read the contents of the converted PDF file. It should not be NULL. |
| [in] | setting_data | A PDFConversionSDK.Md2PDFSettingData object which is used for converting. |