Skip to main content

The "vngen_get_lineheight" Function

Syntax#

vngen_get_lineheight(id, type);

Sets whether to check lineheight for text or labels

Description#

Returns the vertical line separation multiplier of the specified text or label entity.

Example#

if (vngen_get_lineheight("text", vngen_type_text) != vngen_get_lineheight(all, vngen_type_text)) {
vngen_set_lineheight("text", vngen_type_text, vngen_get_lineheight(all, vngen_type_text));
}