Board index » cppbuilder » Printing StringGrids

Printing StringGrids

How can i print a hole StringGrid

please help me.

 

Re:Printing StringGrids


Hi H?kan,

Quote
> How can i print a hole StringGrid

Have a look at this Delphi FAQ...

http://www.borland.com/devsupport/delphi/faq/FAQ1645D.html

Good luck.

--------------------------------------
Damon Chandler

http://bcbcaq.freeservers.com
Answers to <Commonly Asked Questions>

Re:Printing StringGrids


Joins a TMetafileCanvas to a TMetafile, write this code:
"StringGrid1->PaintTo(pMetaCanvas->Handle,0,0);", where pMetaCanvas is a
pointer to a TMetafileCanvas, so the image of a StringGrid will be copied to
a metafile, finally use TPrinter to print this metafile. The keys are
TMetafileCanvas, TMetafile, TStringGrid->PaintTo and TPrinter.
IHTH, Cassius :-).

Damon Chandler <dm...@cornell.edu> escreveu nas notcias de
mensagem:37BCBA57.F809E...@cornell.edu...

Quote
> Hi H?kan,
> > How can i print a hole StringGrid

> Have a look at this Delphi FAQ...

> http://www.borland.com/devsupport/delphi/faq/FAQ1645D.html

> Good luck.

> --------------------------------------
> Damon Chandler

> http://bcbcaq.freeservers.com
> Answers to <Commonly Asked Questions>

Other Threads