size | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | image | ||||||
Summary | Reports the amount of disk space taken by an object. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: image, integer Property: filename Function: heapSpace, hasMemory, stacks, files, diskSpace Glossary: object, property, LiveCode, audio clip, EPS, HyperCard, video clip, byte Object: stack | ||||||
Description | Use the size property to judge how much memory an object takes when displayed. The size of an image, EPS object, audio clip, or video clip is is the number of bytes of disk space that the object takes up. The size property of a stack is always 10000. For stacks, this property is included in LiveCode for compatibility with imported HyperCard stacks and does not report a meaningful value.
| ||||||
Tags | file system |