Error getting tags :
error 404Error getting tags :
error 404 size | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
size
Basics
Expander triangle
Type
Property
Syntax

get the size of object

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Reports the amount of disk space taken by an object.
Examples

if the size of image myImage > 20000 then beep

Additional Comments
Expander triangle

Use the size property to judge how much memory an object takes when displayed.

Value:

The size property reports an integer.

This property is read-only and cannot be set.

Comments:

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 Revolution for compatibility with imported HyperCard stacks and does not report a meaningful value.

Note: The size of an image that has a filename is always empty. To get the true size of such an image, either use the detailed files, or check the length of the file url.

User Comments
Expander triangle