ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / HFSQL properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MaxThumbnailHeight (Property)
In french: HauteurMaxVignette
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
MaxThumbnailHeight is used 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
// Describe the Photo item
Photo is Item Description
...
// Define the maximum height of the first
// thumbnail for the description of the Photo item
Photo.MaxThumbnailHeight[1] = 50
// equivalent to Photo.MaxThumbnailHeight = 50
...
// Validate the data file description
HDescribeFile(Customer)
Syntax

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

<Current maximum height> = <Data file>.<item>.MaxThumbnailHeight[<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 is requested. 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

<item>.MaxThumbnailHeight[<N>] = <New maximum height>
<Item>: Character string
Name of binary memo item used. This name was defined by 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 included between 1 and 65535.
Remarks
The MaxThumbnailHeight property is available:
  • in HFSQL Classic: on the items of a data file, view or query.
  • in HFSQL Client/Server mode: for the items found in a data file only.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/17/2023

Send a report | Local help