|
|
|
|
MaxThumbnailWidth (Property) In french: LargeurMaxVignette
 Available 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.
// 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|