Ver Mensaje Individual
  #3  
Antiguo 13-02-2008
Avatar de xEsk
[xEsk] xEsk is offline
Miembro Premium
 
Registrado: feb 2006
Posts: 454
Reputación: 19
xEsk Va por buen camino
Código Delphi [-]
  h := img.Height;
  w := img.Width;

Devuelve las medidas en píxeles, como te dije en el otro mensaje...

Y como dice la ayuda del delphi:
Cita:
TPicture.Height Property
Specifies the vertical size (in pixels) of the graphic.
Description
Use Height to find the height of the graphic image contained in the picture object. Height is the native, unstretched, height of the picture.
Cita:
TPicture.Width Property
Specifies the horizontal size (in pixels) of the picture.
Description
Use Width to find the width of a graphic image. Width contains the native, unstretched, width of the picture.

Última edición por xEsk fecha: 13-02-2008 a las 16:07:26.
Responder Con Cita