|
Foxit PDF Conversion SDK
|
Public Member Functions | |
| constructor (page_width?, page_height?, margin_top?, margin_bottom?, margin_left?, margin_right?, base_font_size?, custom_font_path?, style_config_path?, is_embed_font?) | |
| Constructor, with parameters. More... | |
| Set (page_width, page_height, margin_top, margin_bottom, margin_left, margin_right, base_font_size, custom_font_path, style_config_path, is_embed_font) | |
| Set value. More... | |
This class represents setting data used for converting Markdown files to PDF files.
|
inline |
Constructor, with parameters.
| [in] | page_width | Page width in points. The value must be greater than 0. Default value: 612. |
| [in] | page_height | Page height in points. The value must be greater than 0. Default value: 612. |
| [in] | margin_top | Top margin in points. The value must be greater than or equal to 0. The sum of top and bottom margins must be less than page height.\ Default value: 72. |
| [in] | margin_bottom | Bottom margin in points. Default value: 72. The value must be greater than or equal to 0. The sum of top and bottom margins must be less than page height. |
| [in] | margin_left | Left margin in points. Default value: 72. The value must be greater than or equal to 0. The sum of left and right margins must be less than page width. |
| [in] | margin_right | Right margin in points. Default value: 72. The value must be greater than or equal to 0. The sum of left and right margins must be less than page width. |
| [in] | base_font_size | Base font size for the PDF content, in points. Default value: 12. |
| [in] | custom_font_path | Path of a custom font file to be used for the conversion. Default value: an empty string which means no custom font is provided. |
| [in] | style_config_path | Path of a style configuration file to be used for the conversion. Default value: an empty string which means no style configuration is provided. |
| [in] | is_embed_font | A boolean value which indicates whether to embed font in the converted PDF file. Default value: true. true means to embed font in the converted PDF file. false means not to embed font in the converted PDF file. |
|
inline |
Set value.
| [in] | page_width | Page width in points. The value must be greater than 0. Default value: 612. |
| [in] | page_height | Page height in points. The value must be greater than 0. Default value: 612. |
| [in] | margin_top | Top margin in points. The value must be greater than or equal to 0. The sum of top and bottom margins must be less than page height.\ Default value: 72. |
| [in] | margin_bottom | Bottom margin in points. Default value: 72. The value must be greater than or equal to 0. The sum of top and bottom margins must be less than page height. |
| [in] | margin_left | Left margin in points. Default value: 72. The value must be greater than or equal to 0. The sum of left and right margins must be less than page width. |
| [in] | margin_right | Right margin in points. Default value: 72. The value must be greater than or equal to 0. The sum of left and right margins must be less than page width. |
| [in] | base_font_size | Base font size for the PDF content, in points. |
| [in] | custom_font_path | Path of a custom font file to be used for the conversion. |
| [in] | style_config_path | Path of a style configuration file to be used for the conversion. |
| [in] | is_embed_font | A boolean value which indicates whether to embed font in the converted PDF file. true means to embed font in the converted PDF file. false means not to embed font in the converted PDF file. |