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 Long

DLL

int DLDrawMarkdownText(int InstanceID, double Left, double Top, double Width, const wchar_t * Markdown);

Parameters

LeftHorizontale positie van de layoutbox
TopVerticale positie van de layoutbox
WidthAvailable layout width
MarkdownMarkdown 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