getMultiValue()
Writes several graphics attributes to variables.
Synopsis
<typeA_1_1> getMultiValue( string shapeA, string attributeA_1,
<typeA_1_1> parA_1_1 [...] [string shapeB, string attributeB_1,
<typeB_1_1> parB_1_1 [...]])
Parameters
Parameter | Description |
---|---|
shapeA | Graphics object |
AttributeA 1 | Graphics attribute |
type | Data type of the parameter |
par A 1 | Parameter of the attribute |
Return value
Returns the value of the first parameter of the first attribute of the first graphics object or if not successful, -1.
Error
Missing or incorrect arguments, incorrect attribute name or if the attributes were not transferred as strings.
Description
Writes the values of any number of graphics attributes of any number of graphics objects to a corresponding number of variables. Otherwise, it functions as getValue().
Example
The following example assigns the contents of a text field to the variable twert and the context of a plain text to the variable swert.
main()
{
getMultiValue("textfeld", "text", twert, "einftext", "text", swert);
}
Assignment
Graphics
Availability
UI