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 LongDLL
int DLGetMarkdownTextLineCount(int InstanceID, double Width, const wchar_t* Markdown);
int DLGetMarkdownTextLineCountA(int InstanceID, double Width, const char* Markdown);Parameters
| Width | Beschikbare lay-outbreedte |
|---|---|
| Markdown | Te meten Markdown-bron |
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