|
|
|
|
|
InfoThumbnailGeneration (Property) In french: InfoGénérationVignette
 Available only with these kinds of connection
The InfoThumbnailGeneration property is used to determine if the thumbnails of an item have been generated successfully. This item was defined in the data model editor or programmatically. Remark: HFSQL thumbnails of a heading are generated automatically when:
InfoGéné is string
InfoGéné = Produit.Photo.InfoGénérationVignette[1]
InfoGéné is string
InfoGéné = Produit.Image.InfoGénérationVignette[num]
IF InfoGéné = "" THEN
IF num > Produit.Image.NbVignetteDécrit THEN
Error("Cette vignette n'existe pas")
ELSE
Info("La vignette a été correctement générée")
END
ELSE
Error("Erreur de génération", InfoGéné)
END
Syntax
<Information de génération> = <Fichier de données>.<Rubrique>.InfoGenerationVignette[<N>]
<Generation information>: Character string - Empty string ("") if the specified thumbnail was successfully generated,
- Error message otherwise.
An empty string ("") is also returned: - if <N> is greater than the number of thumbnails described for the item. To get the number of thumbnails in a given item, use the NbDescribedThumbnail property.
- if the current record was written by a Hyper File 9 (or earlier) engine (see the Notes).
<Data file>: Character string Name of the data file used. This name was defined in the data model editor or with the File Description type. <Item>: Character string Name of binary memo item used. This name was defined in the data model editor or with the Item Description type. <N>: Optional integer Number of the thumbnail used. If this parameter is not specified, the generation information of the first thumbnail is returned. Remarks Limitation The InfoThumbnailGeneration property is available: - in HFSQL Classic: on the fields of a data file, view or query.
- in HFSQL Client/Server: on data file fields only.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|