PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
HFSQLHFSQL 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 through programming.
  • set the maximum height of a thumbnail of an Image item (binary memo), in the item description through programming only.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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.
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