mschart printing 
Author Message
 mschart printing

How to print mschart control (prepared on standard form) using printer
object?
I want to put chart at specyfic position X,Y on the page

(version vb5.0)

i'll be gratefull for any help

TadS



Sun, 16 Sep 2001 03:00:00 GMT  
 mschart printing

The only documented way of doing that is to copy the chart image to the
clipboard, retrieve and assign it to a Picture object, and then use the
PaintPicture method to render it on the printer page. Sorry I don't have a
sample of this handy.

~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please post/reply to the newsgroup(s) so
that everyone can benefit from the discussion.

Regards,

Klaus H. Probst, MCP

       ICQ: 22454937
      The VB Box: http://members.xoom.com/kprobst/
~~~~~~~~~~~~~~~~~~~~~~~~~~~



Quote:
> How to print mschart control (prepared on standard form) using printer
> object?
> I want to put chart at specyfic position X,Y on the page

> (version vb5.0)

> i'll be gratefull for any help

> TadS



Sun, 16 Sep 2001 03:00:00 GMT  
 mschart printing
Hi Tadeusz,

the trick is to copy the Chart-Picture to the clipboard and then print the
clipboard

MSChart1.EditCopy
Printer.PaintPicture Clipboard.GetData, xpos, ypos
Printer.EndDoc

CU
Ronald
--
=> I'm in the computer business, I make Out-Of-Order signs. <=

Tadeusz Schuster schrieb in Nachricht ...

Quote:
>How to print mschart control (prepared on standard form) using printer
>object?
>I want to put chart at specyfic position X,Y on the page

>(version vb5.0)

>i'll be gratefull for any help

>TadS



Sun, 16 Sep 2001 03:00:00 GMT  
 mschart printing
many thanks
TadS

Klaus H. Probst napisa3(a) w wiadomo?ci:

Quote:

>The only documented way of doing that is to copy the chart image to the
>clipboard, retrieve and assign it to a Picture object, and then use the
>PaintPicture method to render it on the printer page. Sorry I don't have a
>sample of this handy.

>~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Please post/reply to the newsgroup(s) so
>that everyone can benefit from the discussion.

>Regards,

>Klaus H. Probst, MCP

>       ICQ: 22454937
>      The VB Box: http://members.xoom.com/kprobst/
>~~~~~~~~~~~~~~~~~~~~~~~~~~~



>> How to print mschart control (prepared on standard form) using printer
>> object?
>> I want to put chart at specyfic position X,Y on the page

>> (version vb5.0)

>> i'll be gratefull for any help

>> TadS



Mon, 17 Sep 2001 03:00:00 GMT  
 mschart printing
many thanks
TadS


Quote:
>Hi Tadeusz,

>the trick is to copy the Chart-Picture to the clipboard and then print the
>clipboard

>MSChart1.EditCopy
>Printer.PaintPicture Clipboard.GetData, xpos, ypos
>Printer.EndDoc

>CU
>Ronald
>--
>=> I'm in the computer business, I make Out-Of-Order signs. <=

>Tadeusz Schuster schrieb in Nachricht ...
>>How to print mschart control (prepared on standard form) using printer
>>object?
>>I want to put chart at specyfic position X,Y on the page

>>(version vb5.0)

>>i'll be gratefull for any help

>>TadS



Mon, 17 Sep 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. MSChart Printing of

2. Another MSchart printing problem

3. MSChart printing

4. MSchart printing

5. MSChart - Printing

6. MSChart -- Printing

7. MSCHART Printing Problem

8. Mschart printing

9. mschart print?

10. MSChart Printing

11. Mschart print??

12. MSChart printing

 

 
Powered by phpBB® Forum Software