4D v14.3PICTURE LIBRARY LIST |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
PICTURE LIBRARY LIST
PICTURE LIBRARY LIST
The PICTURE LIBRARY LIST command returns the reference numbers and names of the pictures currently stored in the Picture Library of the database. After the call, you retrieve the reference numbers in the array picRefs and the names in the array picNames. The two arrays are synchronized: the nth element of picRefs is the reference number of the Picture Library graphic whose name is returned in the nth element of picNames. If necessary, the command automatically creates and sizes the picRefs and picNames arrays. The maximum length of a Picture Library graphic name is 255 characters. If there are no pictures in the Picture Library, both arrays are returned empty. To obtain the number of pictures currently stored in the Picture Library, use the Size of array command to get the size of one of the two arrays. The following code returns the catalog of the Picture Library in the arrays alPicRef and asPicName: PICTURE LIBRARY LIST(alPicRef;asPicName) The following example tests whether or not the Picture Library is empty: PICTURE LIBRARY LIST(alPicRef;asPicName) The following example exports the Picture Library to a document on disk: PICTURE LIBRARY LIST($alPicRef;$asPicName) |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v6.0.2 SEE ALSO
GET PICTURE FROM LIBRARY ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||