4D v14.3REMOVE PICTURE FROM LIBRARY |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
REMOVE PICTURE FROM LIBRARY
REMOVE PICTURE FROM LIBRARY
The REMOVE PICTURE FROM LIBRARY command removes from the Picture Library the picture whose reference number is passed in picRef or whose name is passed in picName. If there is no picture with that reference number or name, the command does nothing. 4D Server: REMOVE PICTURE FROM LIBRARY cannot be used from within a method executed on the server machine (stored procedure or trigger). If you call REMOVE PICTURE FROM LIBRARY on a server machine, nothing happens—the call is ignored. Warning: Design objects (hierarchical list items, menu items, etc.) may refer to Picture Library graphics. Use caution when deleting a Picture Library graphic programmatically. The following example deletes the picture #4444 from the Picture Library.
REMOVE PICTURE FROM LIBRARY(4444) The following example deletes from the Picture Library any pictures whose names begin with a dollar sign ($):
PICTURE LIBRARY LIST($alPicRef;$asPicName) |
PROPERTIES
Product: 4D
HISTORY
Modified: 4D v6.7 SEE ALSO
GET PICTURE FROM LIBRARY ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||