Retrieves the double value of a property, set in the
properties manager.
Select New Properties Manager from menu Script to add or remove properties manually.
Parameters:
Name |
Type |
Description |
propertyName |
String |
The
name of the property, as it is used in Properties
Manager |
Returns:
Type |
Value |
Description |
String |
value
of property |
Returns
the value of the property propertyName if
available. Returns
0 if the property is not found |
Available in:
WindowMain |
WindowLink |
YES |
YES |
Used in:
XojoScript
Name |
GUID |
Create
Seminar Invoice As PDF |
2C3F7F29-A29A-4338-ACF5-51894B709DA5 |
Create
Seminar Invoice With Slip As PDF |
739DA58E-17EE-41CE-BB54-E7362CFE17D4 |
Hint: You can
find references to XojoScripts which make use of this function by sending the
following SQL statement to the database:
Select id,GUID, ScriptName,ScriptCode from
im_scripts where ScriptCode Like '%GetPropertyDouble%'
Example XojoScript:
// Left edge of main text on invoice (29.0 or 60.0)
Dim
leftborder As Double
= GetPropertyDouble("cLetterLeftBorder")
// Define font size in invoice
Dim
DefaultFontSize As Double
= GetPropertyDouble("cFontSize") // 10.0