templateImage | |
Type | keyword |
Dictionary | LCS |
Library | LiveCode Script |
Syntax |
|
Summary | Used with the set command to set the properties of newly created images. |
Introduced | 1.0 |
OS | mac, windows, linux, ios, android |
Platforms | desktop, server, mobile |
Example |
|
Related | Property: properties, ID Control Structure: function Keyword: templateScrollbar, default, image Object: image Glossary: object, keyword, property, command, expression Command: reset, set Function: functionNames |
Description | Use the templateImage keyword to set up default properties to be used for any new images objects you create. The templateImage can be thought of as a special, abstract object. It is not an actual image, but it has all the properties of an image. The ID property of the templateImage is zero. You can use the set command to set the properties of the templateImage before creating an image. The new image has the properties of the templateImage, by default. Changing the properties of the templateImage does not affect existing images. The properties of the templateImage can be returned to the default settings using the reset command. You can refer to the templateImage using any of the following forms:
|