DrawMarkdownTextBox
Text, Markdown, Page layout
Description
Draws as much Markdown as fits in a rectangular area and returns the remaining layout state
Syntax
Delphi
Function TPDFlib.DrawMarkdownTextBox(Left, Top, Width, Height: Double; Const Markdown: WideString): WideString;ActiveX
Function PDFlib::DrawMarkdownTextBox(Left As Double, Top As Double, Width As Double, Height As Double, Markdown As String) As StringDLL
const wchar_t * DLDrawMarkdownTextBox(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t * Markdown);Parameters
| Left | Horizontal position of the layout box |
|---|---|
| Top | Vertical position of the layout box |
| Width | Available layout width |
| Height | Available layout height |
| Markdown | Original Markdown or the opaque continuation token returned by a previous call |
Return values
Returns an empty string when all content was drawn, otherwise an opaque token that can be supplied to the same method on the next page
Remarks
The continuation token preserves partially consumed HTML and inline style state and must not be edited or displayed as source Markdown
The DLL DLDrawMarkdownTextBoxA variant accepts and returns text according to the configured ANSI mode