Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Gráficos (https://www.clubdelphi.com/foros/forumdisplay.php?f=8)
-   -   ayuda con timage (https://www.clubdelphi.com/foros/showthread.php?t=13141)

wakox 07-08-2004 01:25:03

ayuda con timage
 
disculpen que les moleste epro alguien me puede ayudar en decirmo como mandar a imprimir la imagen que se ve en timage.

de antemano les doy las gracias por su ayuda.:D

jachguate 07-08-2004 02:29:54

¿que usas para imprimir?
¿quickreport?
¿fastreport?
¿rave?
¿otro?

¿ninguno?

:confused:

Hasta luego.

;)

Aztaroth 07-08-2004 17:45:32

bueno yo utilizo esta forma en un programa hecho en C++, lo cual no difiere mucho de lo que tendrias que hacer en delphi.

TPrinter *Prntr = Printer();
int wd = Prntr->PageWidth - 10;
int hg = Prntr->PageHeight - 10;
TRect r = Rect(10,10, wd, hg);
f = ExtractFileName(fName);
f.SetLength(f.Length() - 4);
Prntr->Title = "Drawing " + f;

Prntr->BeginDoc();
Prntr->Canvas->StretchDraw(r, bitmap->Picture->Bitmap );
Prntr->EndDoc();


La franja horaria es GMT +2. Ahora son las 16:44:08.

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