OWC from Chart to clipboard

  • Thread starter jam96-BuffaloJoe
  • Start date
J

jam96-BuffaloJoe

TIA.

Clipboard.SetDataObject(myOWC.GetPicture("gif", myOWC.Width, myOWC.Height))
myImage = Clipboard.GetDataObject.GetData("gif", False)

Then pass to PrintDocument

How do you get the OWC to send it's content to the printer?
 
A

Alvin Bruney [MVP]

Each object contains a print method that you can use. If that doesn't work,
you can write your own print routine.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
 
J

jam96-BuffaloJoe

Is it a memeber of the OWC11.Charts(0) or what?
I can not find any print methods.
 
A

Alvin Bruney [MVP]

No, it is part of the object proper - Chart.Print() for instance. You can
have a look at the print behavior file which is a download available from
the OWC download toolpack on the Office web site. It walks you thru print
customizations that you may want to take advantage of.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top