get
Read the value of a Word document variable.
Call:
int ires = word_request("docfield","get", string wordfielsname, string/double/int/bool value);
Here:
wordfielsname - Word variable name,
string/double/int/bool value - a value of any of the listed types to assign to a Word variable.
Returns 0 if the function succeeds.