Equinox Online Help - Language Reference - A to Z
PictureSize |
|
---|---|
Applies to | |
Syntax | PictureSize (PictureFieldName) |
Action | [Function] Returns the size of a picture stored in a picture field. |
Scope | Usable anywhere. |
Notes | The argument, PictureFieldName, is the name of a picture field. This function returns the size, in bytes, of the picture stored in this field in the current record. If there is no picture in the field, or no current record, zero is returned. |
Category | Pictures |
See Also | AssignPicture, ErasePicture, ExportPicture, ExtractPicture, ImportPicture, IsPicture, PictureType |
Example | The following example sets the picture display options automatically, based on the size of the picture. if PictureSize(StaffPhoto) > 65536 then | 64KbShowPictures ShowRequestelseShowPictures ShowNodelayend if |