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
MaxThumbnailWidth (Property)
In french: LargeurMaxVignette
HFSQL ClassicHFSQL Client/ServerAvailable only with these kinds of connection
The MaxThumbnailWidth property is used to:
  • get the maximum width of a thumbnail of an Image item (binary memo). This item was defined in the data model editor or through programming.
  • set the maximum width 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 width of the first
// thumbnail for the description of the Photo item
Photo.MaxThumbnailWidth[1] = 50
// equivalent to Photo.MaxThumbnailWidth = 50
...
// Validate the description of the file
HDescribeFile(Customer)
Syntax

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

<Current maximum width> = <Data file>.<item>.MaxThumbnailWidth[<N>]
<Current maximum width>: Integer
Maximum width (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 width is requested. If this parameter is not specified, the maximum width of the first thumbnail is returned.

Changing the maximum width of a thumbnail in an Image item (binary memo) Hide the details

<item>.MaxThumbnailWidth[<N>] = <New maximum width>
<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 width must be modified. If this parameter is not specified, the maximum width of the first thumbnail is modified.
<New maximum width>: Integer
New maximum width (in pixels) for the specified thumbnail. This width must be included between 1 and 65535.
Remarks
The MaxThumbnailWidth 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.
Linux The MaxThumbnailWidth 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/26/2022

Send a report | Local help