getTableImage: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{stub|examples.}} {{MacroFunction |name= getTableImage |version=1.5.0 |description= Gets the asset id for the image of the current row for the given table. See...") |
m (removed extra/old text) |
||
(9 intermediate revisions by 5 users not shown) | |||
Line 3: | Line 3: | ||
|name= getTableImage | |name= getTableImage | ||
|version=1.5.0 | |version=1.5.0 | ||
|trusted=true | |||
|description= | |description= | ||
Returns the image [[Asset ID|asset id]] of Table represented in Tables Frame. For images in table entries see {{func|getTableEntry}}. | |||
|usage= | |usage= | ||
< | <syntaxhighlight lang="mtmacro" line> | ||
getTableImage(table) | getTableImage(table) | ||
</ | </syntaxhighlight> | ||
'''Parameters''' | '''Parameters''' | ||
* {{code|table}} - | * {{code|table}} - Name of table in Tables Frame. If table doesn't exist or is inaccessible, then script aborts and an error is thrown. See {{func|getTableNames}} to get a list of visible tables. | ||
| | |also= | ||
{{func|setTableImage}} {{func|table}} | |||
}} | }} | ||
[[Category:Table Function]] | [[Category:Table Function]] |
Latest revision as of 23:59, 18 August 2023
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: examples.
getTableImage() Function
Note: This function can only be used in a Trusted Macro
• Introduced in version 1.5.0
Returns the image asset id of Table represented in Tables Frame. For images in table entries see getTableEntry().
Usage
getTableImage(table)
Parameters
table
- Name of table in Tables Frame. If table doesn't exist or is inaccessible, then script aborts and an error is thrown. See getTableNames() to get a list of visible tables.