The "sys_text_get_xoffset" Function

Syntax

sys_text_get_xoffset(entity, index);
ArgumentTypeDescription
entityintegerThe data structure of the entity for which to perform text
indexintegerThe index of the row containing the target entity ID

Description

Returns the horizontal offset of the current line of text based on the current paragraph alignment set by vngen_set_halign.