I'm using the NETLink
to work with Excel
object, there be differences to write code according to the NETLink
user manual in Mathematica
from C#
, but it's hard to do more in fact.
I wanted to put a picture in Excel
ActiveSheet
, the MSDN
gvies notation like this in C#:
public Microsoft.Office.Interop.Excel.Picture Insert (string Filename, object Converter);
first time I trans it as
activesheet@Cells[20, 1]@Select[]
activesheet@Pictures@Insert["E:\\birds.png"]
error ocurred. ... at last, the code was changed to
activesheet@Cells[20, 1]@Select[]
activesheet@Pictures[]@Insert["E:\\birds.png"]
and it worked. I donot know why paired brackets is necessary for the Pictures
?
so I hope there be particular Classes browser for NETLink
more than the NETTypeInfo
function to help understand these objects exactly. If there be Classes browser designed for Assembly when using NETLink would be better?