Difference between revisions of "API Component.Property.GetValue"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import)
Line 21: Line 21:
 
====Calling in a calculation====
 
====Calling in a calculation====
 
* Declare a variable 'result' of type STRING
 
* Declare a variable 'result' of type STRING
* Add to a calculation icon: <pre class="brush:[C++]">result = ::Component.Property.GetValue(handle, "property")</pre>
+
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Component.Property.GetValue(handle, "property")</pre>

Revision as of 13:50, 11 May 2013

<sidebar>API contents</sidebar> Gets the value of a property as a string


Parameters

HANDLE Handle

The component handle of the property owner

STRING Property

The textual name of the property

Return value

STRING

Returns the value of a property as a string

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type STRING
  • Add to a calculation icon:
    result = ::Component.Property.GetValue(handle, "property")