GetMarkdownTextHeightA

Text, Markdown, Measurement

Description

ANSI variant of GetMarkdownTextHeight

Accepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point

Syntax

DLL

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

Return values

Returns the required height in the active measurement units, or 0 for an invalid width

Remarks

The measured plan can be reused by a matching draw call without repeating HTML layout

The DLL DLGetMarkdownTextHeightA variant accepts text according to the configured ANSI mode