GetMarkdownTextLineCount

Tekst, Markdown, meting

Beschrijving

Geeft het aantal gerenderde regels terug dat Markdown bij de gevraagde breedte oplevert

Syntaxis

Delphi

Function TPDFlib.GetMarkdownTextLineCount(Width: Double; Const Markdown: WideString): Integer;

ActiveX

Function PDFlib::GetMarkdownTextLineCount(Width As Double, Markdown As String) As Long

DLL

int DLGetMarkdownTextLineCount(int InstanceID, double Width, const wchar_t * Markdown);

Parameters

WidthAvailable layout width
MarkdownMarkdown source to measure

Retourwaarden

Retourneert het aantal gerenderde regels, of 0 bij een ongeldige breedte of lege bron

Opmerkingen

De DLL-variant DLGetMarkdownTextLineCountA accepteert tekst volgens de geconfigureerde ANSI-modus