|
|
|
|
|
MarkdownToPDF (Function) In french: MarkdownVersPDF Converts a Markdown string (or buffer) to a buffer containing a PDF document. sMarkdownText is string // Converts the Markdown text to a PDF document PDFDoc is Buffer = MarkdownToPDF(sMarkdownText) Syntax
<Result> = MarkdownToPDF(<Markdown text> [, <Page format> [, <PDF file parameters>]])
<Result>: Buffer - Buffer containing the PDF document resulting from the conversion.
- Empty buffer if an error occurs. To get more details on the error, use ErrorInfo.
<Markdown text>: Character string Markdown text to convert. <Page format>: Optional Integer constant Page format of the generated PDF document: | | iPaperSize_10x14 | 10 x 14 inch paper | iPaperSize_11x17 | 11 x 17 inch paper | iPaperSize_A3 | A3 paper (297 x 420 mm) | iPaperSize_A4 | A4 paper (210 x 297 mm) | iPaperSize_A4Small | Small A4 paper (210 x 297 mm) | iPaperSize_A5 | A5 paper (148 x 210 mm) | iPaperSize_B4 | B4 paper (250 x 354 mm) | iPaperSize_B5 | B5 paper (182 x 257 mm) | iPaperSize_CSheet | Size C sheet | iPaperSize_DSheet | Size D sheet | iPaperSize_Envelope9 | Envelope #9 (3.875 x 8.875 inches) | iPaperSize_Envelope10 | Envelope #10 (4.125 x 9.5 inches) | iPaperSize_Envelope11 | Envelope #11 (4.5 x 10.375 inches) | iPaperSize_Envelope12 | Envelope #12 (4.5 x 4.5 x 11 inches) | iPaperSize_Envelope14 | Envelope #14 (5 x 11.5 inches) | iPaperSize_EnvelopeB4 | B4 envelope (250 x 353 mm) | iPaperSize_EnvelopeB5 | B5 envelope (176 x 250 mm) | iPaperSize_EnvelopeB6 | B6 envelope (176 x 125 mm) | iPaperSize_EnvelopeC3 | C3 envelope (324 x 458 mm) | iPaperSize_EnvelopeC4 | C4 envelope (229 x 324 mm) | iPaperSize_EnvelopeC5 | C5 envelope (162 x 229 mm) | iPaperSize_EnvelopeC6 | C6 envelope (114 x 162 mm) | iPaperSize_EnvelopeC65 | C65 envelope (114 x 229 mm) | iPaperSize_EnvelopeDL | DL envelope (110 x 220 mm) | iPaperSize_EnvelopeItaly | Envelope 110 x 230 mm | iPaperSize_EnvelopeMonarch | Envelope 3.875 x 7.5 inches | iPaperSize_EnvelopePerso | Envelope 3.625 x 6.5 inches | iPaperSize_ESheet | Size E sheet | iPaperSize_Executive | Executive paper (7.5 x 10.5 inches) | iPaperSize_FanfoldUS | Fanfold paper (14.875 x 11 inches) | iPaperSize_Folio | Folio paper (8.5 x 13 inches) | iPaperSize_GermanLGL | Fanfold paper (8.5 x 13 inches) | iPaperSize_GermanSTD | Fanfold paper (8.5 x 12 inches) | iPaperSize_Ledger | Ledger paper (17 x 11 inches) | iPaperSize_Legal | Legal paper (8.5 x 14 inches) | iPaperSize_Letter | Letter paper (8.5 x 11 inches) | iPaperSize_LetterSmall | Small letter paper (8.5 x 11 inches) | iPaperSize_Note | Note paper (8.5 x 11 inches) | iPaperSize_Quarto | Quarto paper (215 x 275 mm) | iPaperSize_Statement | Statement paper (5.5 x 8.5 inches) | iPaperSize_Tabloid | Tabloid paper (11 x 17 inches) |
<PDF file parameters>: Optional pdfParameter variable Name of the pdfParameter variable that describes all the options of the PDF document to be generated. Component: wd300wdpdf.dll
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|