ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
MaxThumbnailHeight (Property)
In french: HauteurMaxVignette
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The property HeightMaxVignette property allows you to:
  • get the maximum height of a thumbnail of an Image item (binary memo). This item was defined in the data model editor or programmatically.
  • set the maximum height of a thumbnail of an Image item (binary memo), in the item description through programming only.
Example
// Description de la rubrique Photo
Photo is Item Description
...
// Définir la hauteur maximale de la première 
// vignette de la description de rubrique Photo
Photo.HauteurMaxVignette[1] = 50
// équivalent à Photo.HauteurMaxVignette = 50
...
// Valider la description du fichier de données
HDescribeFile(Client)
Syntax

Getting the maximum height of a thumbnail of an Image item (binary memo) Hide the details

<Hauteur maximale actuelle> = <Fichier de données>.<Rubrique>.HeightMaxVignette[<N>]
<Current maximum height>: Integer
Maximum height (in pixels) of the specified thumbnail.
<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 whose maximum height you want to get. If this parameter is not specified, the maximum height of the first thumbnail is returned.

Change the maximum height of a thumbnail in an Image item (binary memo) Hide the details

<Rubrique>HeightMaxVignette[<N>] = <Nouvelle hauteur maximale>
<Item>: Character string
Name of binary memo item used. This name is defined with the Item Description type.
<N>: Optional integer
Number of the thumbnail whose maximum height must be modified. If this parameter is not specified, the maximum height of the first thumbnail is modified.
<New maximum height>: Integer
New maximum height (in pixels) for the specified thumbnail. This height must be between 1 and 65535.
Remarks
The MaxThumbnailHeight 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.
Linux The MaxThumbnailHeight property is only available on data file items in HFSQL Client/Server.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/13/2025

Send a report | Local help