Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/10/2008, 06:11
Avatar de Peterpay
Peterpay
Colaborador
 
Fecha de Ingreso: septiembre-2007
Ubicación: San Francisco, United States
Mensajes: 3.858
Antigüedad: 17 años, 6 meses
Puntos: 87
Respuesta: Imprimir una imagen desde vb.net

tu graphics.DrawImage(imagen,coordenadas) con eso le dices la posicion, pero el tamaño lo puedes hacer con algo como.

Código:
public Bitmap ResizeBitmap( Bitmap b, int nWidth, int nHeight )
{
  Bitmap result = new Bitmap( nWidth, nHeight );
  using( Graphics g = Graphics.FromImage( (Image) result ) )
    g.DrawImage( b, 0, 0, nWidth, nHeight );
  return result;
}
__________________
Curso WF4
http://cursos.gurudotnet.com/ DF
Aprende HTML5