XLL+ Class Library (6.3)

::XlWriteMatrixEx

Transform a matrix of extended type values into a CXlOper

template< class T, class XLT >
void XlWriteMatrixEx(
   const ple::mtx_imtx<T>& values,
   CXlOper& xlo,
   const CXlUserConverterBase<T, XLT>& outerConverter
);

Parameters

values

A reference to an input variable containing a matrix of extended type values.

xlo

A reference to a CXlOper which will be set to values, if the conversion is successful.

outerConverter

An instance of the extended type's converter class. See CXlUserConverterBase for details.

If the converter class does not implement ConvertToExcel() then this method will fail, and an exception of type CXlConversionException will be thrown.

Remarks

If the function fails for any reason, an exception of type CXlConversionException is thrown. This will be caught by the outer wrapper function, and converted into an appropriate form to be returned to Excel.

Requirements

Header: xlpconvert.h

See Also

Global conversion functions