AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades HFSQL
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
MaxThumbnailWidth (Property)
 
HFSQL ClassicHFSQL Client/ServerDisponible solo con estos tipos de conexión
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 programmatically.
  • set the maximum width of a thumbnail of an Image item (binary memo), in the item description through programming only.
Ejemplo
// 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)
Sintaxis

Getting the maximum width of a thumbnail of an Image item (binary memo) Ocultar los detalles

<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 you want to get. 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) Ocultar los detalles

<item>.MaxThumbnailWidth[<N>] = <New maximum width>
<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 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.
Observaciones
The MaxThumbnailWidth 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 MaxThumbnailWidth property is only available on data file items in HFSQL Client/Server.
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 05/12/2024

Señalar un error o enviar una sugerencia | Ayuda local