ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE


Asc
Val
New WINDEV, WEBDEV and WINDEV Mobile 28 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Converts a Markdown string (or buffer) to a buffer containing a PDF document.
Example
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_10x1410 x 14 inch paper
AndroidAndroid Widget Not available.
iPaperSize_11x1711 x 17 inch paper
AndroidAndroid Widget Not available.
iPaperSize_A3A3 paper (297 x 420 mm)
iPaperSize_A4A4 paper (210 x 297 mm)
iPaperSize_A4SmallSmall A4 paper (210 x 297 mm)
AndroidAndroid Widget Not available.
iPaperSize_A5A5 paper (148 x 210 mm)
iPaperSize_B4B4 paper (250 x 354 mm)
iPaperSize_B5B5 paper (182 x 257 mm)
iPaperSize_CSheetSize C sheet
AndroidAndroid Widget Not available.
iPaperSize_DSheetSize D sheet
AndroidAndroid Widget Not available.
iPaperSize_Envelope9Envelope #9 (3.875 x 8.875 inches)
iPaperSize_Envelope10Envelope #10 (4.125 x 9.5 inches)
iPaperSize_Envelope11Envelope #11 (4.5 x 10.375 inches)
iPaperSize_Envelope12Envelope #12 (4.5 x 4.5 x 11 inches)
iPaperSize_Envelope14Envelope #14 (5 x 11.5 inches)
iPaperSize_EnvelopeB4B4 envelope (250 x 353 mm)
iPaperSize_EnvelopeB5B5 envelope (176 x 250 mm)
iPaperSize_EnvelopeB6B6 envelope (176 x 125 mm)
iPaperSize_EnvelopeC3C3 envelope (324 x 458 mm)
AndroidAndroid Widget Not available.
iPaperSize_EnvelopeC4C4 envelope (229 x 324 mm)
AndroidAndroid Widget Not available.
iPaperSize_EnvelopeC5C5 envelope (162 x 229 mm)
AndroidAndroid Widget Not available.
iPaperSize_EnvelopeC6C6 envelope (114 x 162 mm)
AndroidAndroid Widget Not available.
iPaperSize_EnvelopeC65C65 envelope (114 x 229 mm)
AndroidAndroid Widget Not available.
iPaperSize_EnvelopeDLDL envelope (110 x 220 mm)
AndroidAndroid Widget Not available.
iPaperSize_EnvelopeItalyEnvelope 110 x 230 mm
iPaperSize_EnvelopeMonarchEnvelope 3.875 x 7.5 inches
iPaperSize_EnvelopePersoEnvelope 3.625 x 6.5 inches
iPaperSize_ESheetSize E sheet
AndroidAndroid Widget Not available.
iPaperSize_ExecutiveExecutive paper (7.5 x 10.5 inches)
iPaperSize_FanfoldUSFanfold paper (14.875 x 11 inches)
AndroidAndroid Widget Not available.
iPaperSize_FolioFolio paper (8.5 x 13 inches)
iPaperSize_GermanLGLFanfold paper (8.5 x 13 inches)
AndroidAndroid Widget Not available.
iPaperSize_GermanSTDFanfold paper (8.5 x 12 inches)
AndroidAndroid Widget Not available.
iPaperSize_LedgerLedger paper (17 x 11 inches)
AndroidAndroid Widget Not available.
iPaperSize_LegalLegal paper (8.5 x 14 inches)
iPaperSize_LetterLetter paper (8.5 x 11 inches)
iPaperSize_LetterSmallSmall letter paper (8.5 x 11 inches)
AndroidAndroid Widget Not available.
iPaperSize_NoteNote paper (8.5 x 11 inches)
iPaperSize_QuartoQuarto paper (215 x 275 mm)
iPaperSize_StatementStatement paper (5.5 x 8.5 inches)
iPaperSize_TabloidTabloid paper (11 x 17 inches)
<PDF file parameters>: Optional pdfParameter variable
Variable of type pdfParameter that describes all the options of the PDF document to be generated.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment