Foxit PDF Conversion SDK
com.foxit.sdk.conversion.md2pdf.Md2PDF Class Reference
Inheritance diagram for com.foxit.sdk.conversion.md2pdf.Md2PDF:
com.foxit.sdk.common.Base

Public Member Functions

synchronized void delete ()
 Clean up related C++ resources immediately. More...
 
- Public Member Functions inherited from com.foxit.sdk.common.Base
synchronized void delete ()
 Clean up related C++ resources immediately. More...
 

Static Public Member Functions

static boolean convertFromMarkdown (String src_markdown_file_path, String src_file_password, String saved_pdf_path, Md2PDFSettingData setting_data) throws com.foxit.sdk.PDFException
 Convert a Markdown format file to a PDF file. More...
 

Detailed Description

This class can be used to convert Markdown format files to PDF files.

Member Function Documentation

◆ convertFromMarkdown()

static boolean com.foxit.sdk.conversion.md2pdf.Md2PDF.convertFromMarkdown ( String  src_markdown_file_path,
String  src_file_password,
String  saved_pdf_path,
Md2PDFSettingData  setting_data 
) throws com.foxit.sdk.PDFException
static

Convert a Markdown format file to a PDF file.

Parameters
[in]src_markdown_file_pathPath of a Markdown format file. This should not be an empty string.
[in]src_file_password(Reserved) Password for the input file. Please pass an empty string.
[in]saved_pdf_pathPath of the saved PDF file as conversion result. This should not be an empty string.
[in]setting_dataA com.foxit.sdk.conversion.md2pdf.Md2PDFSettingData object which is used for converting.
Returns
true means success, while false means failure.

◆ delete()

synchronized void com.foxit.sdk.conversion.md2pdf.Md2PDF.delete ( )

Clean up related C++ resources immediately.

Returns
None.
Note
Once this function is called, current object cannot be used anymore.