DrawMarkdownText
Tekst, Markdown, pagina-indeling
Beschrijving
Zet Markdown om en tekent het op de gevraagde positie via de bestaande gecachte HTML-layout-engine
Syntaxis
Delphi
Function TPDFlib.DrawMarkdownText(Left, Top, Width: Double; Const Markdown: WideString): Integer;ActiveX
Function PDFlib::DrawMarkdownText(Left As Double, Top As Double, Width As Double, Markdown As String) As LongDLL
int DLDrawMarkdownText(int InstanceID, double Left, double Top, double Width, const wchar_t * Markdown);Parameters
| Left | Horizontale positie van de layoutbox |
|---|---|
| Top | Verticale positie van de layoutbox |
| Width | Available layout width |
| Markdown | Markdown source or a continuation token returned by DrawMarkdownTextBox |
Retourwaarden
Retourneert 1 als de breedte geldig is, of 0 in alle andere gevallen
Opmerkingen
Een herhaalde bron hergebruikt zijn geconverteerde HTML en uitgemeten layoutplan
De DLL-variant DLDrawMarkdownTextA accepteert tekst volgens de geconfigureerde ANSI-modus