Is there a way i can work out the shapes of the arguments in excelDNA?
I know i can get the shape of the calling area using this:
ExcelReference caller = (ExcelReference)XlCall.Excel(XlCall.xlfCaller);
int rows = caller.RowLast - caller.RowFirst + 1;
int cols = caller.ColumnLast - caller.ColumnFirst + 1;
but say i want to produce a table, and have it transpose the table, and have it check if the arguments are horizontal and vertical arrays, and then align the table appropriately - is there a way to do this (i'd rather not have an additional flag in the function)?