|
Foxit PDF SDK
|
Public Member Functions | |
| constructor () | |
| Constructor. | |
| constructor (page_width, page_height, page_margin, font, text_size, text_color, linespace, is_break_page) | |
| Constructor, with parameters. More... | |
| Set (page_width, page_height, page_margin, font, text_size, text_color, linespace, is_break_page) | |
| Set value. More... | |
Public Attributes | |
| font | |
| A font object. | |
| is_break_page | |
| Used to decide whether to insert a page break in converted PDF document when meeting character 0x0c. | |
| linespace | |
| Line spacing. If valid, it should be above 0. | |
| page_height | |
| Page height used for the converted PDF document. | |
| page_margin | |
| Page margin used for converted PDF document. More... | |
| page_width | |
| Page width used for the converted PDF document. | |
| text_color | |
| Font color. | |
| text_size | |
| Font size. If valid, it should be above 0. | |
This class represents setting data used for converting TXT to PDF.
| FSDK.TXT2PDFSettingData.constructor | ( | page_width | , |
| page_height | , | ||
| page_margin | , | ||
| font | , | ||
| text_size | , | ||
| text_color | , | ||
| linespace | , | ||
| is_break_page | |||
| ) |
Constructor, with parameters.
| [in] | page_width | Page width used for the converted PDF document. |
| [in] | page_height | Page height used for the converted PDF document. |
| [in] | page_margin | Page margin used for converted PDF document. |
| [in] | font | Font object used for converted PDF document. |
| [in] | text_size | Font size used for converted PDF document. |
| [in] | text_color | Font color used for converted PDF document. |
| [in] | linespace | Line space used for converted PDF document. |
| [in] | is_break_page | Used to decide whether to insert a page break in converted PDF document when meeting character 0x0c. |
| FSDK.TXT2PDFSettingData.Set | ( | page_width | , |
| page_height | , | ||
| page_margin | , | ||
| font | , | ||
| text_size | , | ||
| text_color | , | ||
| linespace | , | ||
| is_break_page | |||
| ) |
Set value.
| [in] | page_width | Page width used for the converted PDF document. |
| [in] | page_height | Page height used for the converted PDF document. |
| [in] | page_margin | Page margin used for converted PDF document. |
| [in] | font | Font object used for converted PDF document. |
| [in] | text_size | Font size used for converted PDF document. |
| [in] | text_color | Font color used for converted PDF document. |
| [in] | linespace | Line space used for converted PDF document. |
| [in] | is_break_page | Used to decide whether to insert a page break in converted PDF document when meeting character 0x0c. |
| FSDK.TXT2PDFSettingData.page_margin |
Page margin used for converted PDF document.