to_string


Description:

public string to_string ()

Converts this into a string

See Units.from_string for the units syntax and for examples of output

Fractional values are truncated to the second decimal position for em, mm and cm, and to the first decimal position for typographic points. Pixels are integers.

Parameters:

this

a Units

Returns:

a newly allocated string containing the encoded Units value. Use g_free to free the string




2022 vala-language.org