
76
Class Reference
Example:
result = storage.write("TimeCard" + employeeNumber, tcRecord);
Writes a time card record to a file.
4.4.1.10
getHeader
The storage.getHeader method returns the first multiline comment block from a JavaScript
file. This includes encrypted files if the proper developer key is installed.
Format and Example:
data = storage.getHeader(name);
Where:
name
– string; the name of a file.
data
– string; the first multiline comment block of the file.
Sets
data
to the first multiline comment in the file.
4.4.1.11
saveOffsetWindow
The
storage.saveOffsetWindow
function will use the last decode to determine the
origin and bounding box within the last image and save the rotated box defined by the
offset point, width and height to filename. The function will return a
bool
indicating
success or failure. Failure will usually mean the file could not be saved.
Format:
result = storage.saveOffsetWindow(xOffset, yOffset, width,_
height, filename)
Where:
xOffset -
yOffset -
width -
height -
filename
– The body of the file name. The appropriate extension will be added by the
system based on the JPEG compression settings in the registry.
4.4.2
Properties
The following section documents the properties defined for the handheld
storage
object.
4.4.2.1
fullness_percent
The
storage.fullness_percent
property is a read-only integer containing the
percent of storage in use.
Содержание OHV300
Страница 1: ...FACTORY AUTOMATION MANUAL JAVASCRIPT PROGRAMMING GUIDE...
Страница 88: ...88 Supported JavaScript Core delete function in instanceof new this typeof void...
Страница 93: ...93 Symbology ID Modifier Information...
Страница 94: ...TDOCT 4981_ENG 11 2015...