Equinox Online Help - Language Reference - A to Z
PictureType |
|
|---|---|
| Applies to | ![]() |
| Syntax | PictureType(PictureItem) |
| Action | [Function] Returns the type of image stored in a picture field. |
| Scope | Usable anywhere. |
| Notes | This function returns a three-letter string indicating the type of image stored in PictureItem, the name of a picture field in the current record. The type can be one of the following:
|
| Category | Pictures |
| See Also | AssignPicture, ErasePicture, ExportPicture, ExtractPicture, ImportPicture, IsPicture, PictureSize |
| Example | The following example checks a picture field called "Photo" and displays information about it using a message. switch PictureType(Photo)case "BMP"end switchMessage "RGB-encoded bitmap", 1case "GIF"Message "Graphics interchange format", 1case "JPG"Message "Joint photographic expert group", 1case "PCX"Message "PC Paintbrush", 1case "RLE"Message "Run-length encoded bitmap", 1case "TGA"Message "Targa", 1case "TIF"Message "Tagged-image file format", 1 |
