templateEPS

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
templateEPS
Summary

Used with the set command to set the properties of newly created EPS objects.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
set the prolog of the templateEPS to field "Set Prolog"
RelatedProperty: properties, ID
Control Structure: function
Keyword: templateScrollbar, default
Object: EPS
Glossary: object, keyword, EPS, property, command, expression
Command: reset, set
Function: functionNames
Description

Use the templateEPS keyword to set up default properties to be used for any new EPS objects you create.

The templateEPS can be thought of as a special, abstract object. It is not an actual EPS object, but it has all the properties of an EPS. The ID property of the templateEPS is zero.

You can use the set command to set the properties of the templateEPS before creating an EPS object. The new EPS has the properties of the templateEPS, by default. Changing the properties of the templateEPS does not affect existing EPS objects.

The properties of the templateEPS can be returned to the default settings using the reset command.

You can refer to the templateEPS using any of the following forms:

templateEPS
the templateEPS
templateEPS()

Note: The templateEPS keyword is implemented internally as a function and appears in the functionNames. However, it cannot be used as a function in an expression.