Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: Print content of TStringGrid - question



"Bert Prins" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]

> I want to send the content of a TStringGrid to a printer.
> I've tried this:
>
> Printer.BeginDoc;
> sgStructure.PaintTo(Printer.Handle, 10,10);
> Printer.EndDoc;
>
> I must say: it works, but the result is about 2 x 2 cm !!!
> Un-readable. Do I something wrong or is there a better way to
> print the content of a TStringGrid?

Without going into details of how to fix it, what went wrong is
that you didn't correct for the resolution of the canvas.

Groetjes,
Maarten Wiltink





<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.