Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > Gráficos
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 13-02-2008
Avatar de xEsk
[xEsk] xEsk is offline
Miembro Premium
 
Registrado: feb 2006
Posts: 454
Poder: 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
Respuesta



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
stretch y la propiedad pixels delphiladero Gráficos 2 24-04-2007 13:45:05
convertir a PDF karocs PHP 2 28-07-2006 09:39:24
¿Pixels no son pixels en todas las configuraciones? elcigarra Gráficos 0 27-01-2006 14:38:05
Pintar pixels de color en el form Agar23 Gráficos 1 18-02-2004 13:06:04


La franja horaria es GMT +2. Ahora son las 00:13:48.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi