Import grafic

R

RcCluster

Dear Newsgroup,

Maybe this is a newbe problem, but I can't find a solution:

In VB.Net I can use the Method Shapes.AddPicture in this way to add a
pcx-grafic in its own proportions

sh = xl.ActiveCell.Worksheet
shps = sh.Shapes
pic = shps.AddPicture("F:\Datenbilder\Bilder\Schuhe\250122.pcx")

Unfortunaly (I'm working with Peter Whitechapel book) I'm using C#. Thus I
can't skip parameters!

shps.AddPicture("F:\Datenbilder\Bilder\Schuhe\250122.pcx",boolean, boolean,
float, float, float)

And here is my question:

I want to skip the floats! How can I do this? I can't use
System.Type.Missing or System.Reflections.Missing.Value. This cause a
compiler error!

Please help me!
Thanks
RcCluster ;-)
 

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

Similar Threads

Import graphics in Excel 5

Top