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 de ventanas, páginas y controles
  • Defining the image section
  • Limits
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
The ImageHeight property is used to:
  • Find out the height of the image section displayed in an image control or in the background of a chart control.
  • Modify the height of the image section displayed in an image control or in the background of a chart control.
Note The image display mode selected in the Image control description will be applied to the image portion.
Ejemplo
IMG_ImageControl.XImage = 20
IMG_ImageControl.YImage = 20
IMG_ImageControl.ImageHeight = 40
IMG_ImageControl.ImageWidth = 40
Sintaxis

Finding out the height of the section displayed Ocultar los detalles

<Section height> = <Control used>.ImageHeight
<Section height>: Integer
  • Height of the image section that will be displayed in the Image control or in the background of the Chart control (expressed in pixels).
  • -1 if the entire image is displayed in the Image control or in the background of the Chart control.
<Control used>: Control name
Name of the field to be manipulated:
  • Image control,
  • Chart control.

Modifying the height of the section displayed Ocultar los detalles

<Control used>.ImageHeight = <New height>
<Control used>: Control name
Name of the field to be manipulated:
  • Image control,
  • Chart control.
<New height>: Integer
  • Height of the image section that will be displayed in the Image control or in the background of the Chart control (expressed in pixels).
  • -1 to display the entire image in the Image control or in the background of the Chart control.
Observaciones

Defining the image section

An Image control is used to display a section of the image found in the associated image file. The following properties are used to define the image section that will be displayed in the Image control:
  • XImage: used to define the origin of the image section.
  • YImage: used to define the origin of the image section.
  • ImageHeight: defines the height of the image portion.
  • ImageWidth: used to define the width of the image section.
In this example, the image section included in the red border will be displayed in the Image control.
The display mode of this image section will be the one defined for the Image control.

Limits

This property only applies to the Image controls and to the Chart controls found in the windows.
Widget Android IOS WidgetJava The ImageHeight property applies only to Image controls.
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

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